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