davide.cucurnia@vola.it
2024-06-27 16f0dd80dbd83e21c64cbc0b7b2afc0619c604f1
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
<?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->integer('LinkedMSISDN')->unsigned()->comment('MSISDN di appartenenza');
            $table->foreign('LinkedMSISDN')->references('id')->on('fakesso_msisdn');
            $table->string('tmCode', 255)->nullable();
            $table->string('OMProductId', 255)->nullable();
            $table->string('Name', 255)->nullable();
            $table->string('Description', 255)->nullable();
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_products');
    }
};