<?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');
|
}
|
};
|