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
<?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_msisdn', function (Blueprint $table) {
            $table->increments('id')->comment('Identificatore univoco msisdn');
            $table->integer('LinkedUser')->unsigned()->comment('vodafoneuser di appartenenza');
            $table->foreign('LinkedUser')->references('id')->on('fakesso_vodafoneusers');
            $table->string('MSISDN', 255)->nullable();
            $table->string('CardType', 255)->nullable();
            $table->string('IdPiano', 255)->nullable();
            $table->string('VodafoneOne', 255)->nullable();
            $table->string('TopClub', 255)->nullable();
            $table->string('SenioriryCluster', 255)->nullable(); 
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_msisdn');
    }
};