davide.cucurnia@vola.it
2024-06-27 72e18376d42d0313f6fb72c6940cd2095bc2d352
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
<?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_vodafoneusers', function (Blueprint $table) {
            $table->increments('id')->comment('Identificatore univoco profilo');
            $table->integer('LinkedMSISDN')->unsigned()->comment('identificatore MSISDN');
            $table->foreign('LinkedMSISDN')->references('id')->on('fakesso_msisdn');
            $table->string('Name', 255)->nullable();
            $table->string('Surname', 255)->nullable();
            $table->string('EmailAddress', 255)->nullable();
            $table->string('ProfileIdentifier', 255)->nullable();
            $table->string('FiscalCode', 255)->nullable();
            $table->string('Type_ID', 255)->nullable();
            $table->string('Custcode', 255)->nullable();
            $table->string('EmailCSA', 255)->nullable();
            $table->string('PIN_CSA', 255)->nullable();
            $table->string('ID_CSA', 255)->nullable();
            $table->string('Sex', 255)->nullable();
            $table->string('BirthProvinceName', 255)->nullable();
            $table->string('BirthPlace', 255)->nullable();
            $table->string('HomeProvinceName', 255)->nullable();
            $table->string('MicroBusiness', 255)->nullable();
            $table->string('HomePhone', 255)->nullable();
            $table->string('Address', 255)->nullable();
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_vodafoneusers');
    }
};