<?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_products', function (Blueprint $table) {
|
$table->increments('id')->comment('Identificatore univoco profilo');
|
$table->integer('LinkedMSISDN')->unsigned()->comment('MSISDN di appartenenza');
|
$table->foreign('LinkedMSISDN')->references('id')->on('fakesso_msisdn');
|
$table->string('tmCode', 255)->nullable();
|
$table->string('OMProductId', 255)->nullable();
|
$table->string('Name', 255)->nullable();
|
$table->string('Description', 255)->nullable();
|
});
|
}
|
|
public function down()
|
{
|
Schema::dropIfExists('fakesso_products');
|
}
|
};
|