Filippo Bertilotti
2024-07-22 0991a9fb42afabd45d2b7504b84d6484b241c35d
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
<?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->integer('LinkedMSISDN')->unsigned()->comment('MSISDN di appartenenza');
            //$table->foreign('LinkedMSISDN')->references('id')->on('fakesso_msisdn');
            $table->string('tmProduct', 255)->nullable();
            $table->string('tmCode', 255)->nullable();
            $table->boolean('isService')->nullable();
            $table->string('OMProductId', 255)->nullable();
            $table->string('OMSource', 255)->nullable();
            $table->string('Name', 255)->nullable();
            $table->string('Description', 255)->nullable();
            $table->string('activationDateTime', 255)->nullable();
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_products');
    }
};