Filippo Bertilotti
2024-07-31 7e64cc10b90638803aa7e6b1b78c76825a8da866
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
<?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('Username', 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();
            $table->timestamps();
        });
    }
 
    public function down()
    {
        Schema::dropIfExists('fakesso_vodafoneusers');
    }
};