Filippo Bertilotti
5 days ago 06f7b6188fe152cd561e60ff1abf2bac56773347
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
 
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
 
return new class extends Migration {
    public function up()
    {
        Schema::create('fakesso_products', function (Blueprint $table) {
            $table->increments('id')->comment('Identificatore univoco profilo');
            $table->string('productId', 255)->comment('identificatore del prodotto');
            $table->string('activationDate', 255)->nullable();
            $table->string('changeStateDate', 255)->nullable();
            $table->string('inheritanceRule', 255)->nullable();
            $table->string('buyCost', 255)->nullable();
            $table->string('frequency', 255)->nullable();
            $table->string('infoRecurringFees', 255)->nullable();
            $table->string('invertStatus', 255)->nullable();
            $table->integer('maxNumOfTry')->nullable();
            $table->string('monopoliFlag', 255)->nullable();
            $table->string('longDescription', 255)->nullable();
            $table->string('longName', 255)->nullable();
            $table->integer('productPosition')->nullable();
            $table->integer('numberOfUsedTry')->nullable();
            $table->integer('numberOfTryAvailable')->nullable();
            $table->string('OMProductId', 255)->nullable();
            $table->string('OMSource', 255)->nullable();
            $table->string('productType', 255)->nullable();
            $table->string('shortDescription', 255)->nullable();
            $table->string('shortName', 255)->nullable();
            $table->string('productStateOnSim', 255)->nullable();
            $table->string('spyderId', 255)->nullable();
            $table->string('flagCommitment', 255)->nullable();
            $table->string('mm4MPromoId', 255)->nullable();
            $table->string('idJoin', 255)->nullable();
            $table->string('lastPaidFlag', 255)->nullable();
            $table->string('offerType', 255)->nullable();
            $table->string('lastChargeZeroReason', 255)->nullable();
            //tmProduct
            $table->string('tmCode', 255)->nullable();
            $table->string('tmDescription', 255)->nullable();
            $table->string('tmActivationDate', 255)->nullable();
            $table->string('____hashCodeCalc', 255)->nullable();
            $table->timestamps();
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_products');
    }
};