davide.cucurnia@vola.it
2024-06-27 72e18376d42d0313f6fb72c6940cd2095bc2d352
commit | author | age
2f9a34 1 <?php
D 2
3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
6
7 return new class extends Migration {
8     public function up()
9     {
10         Schema::create('fakesso_products', function (Blueprint $table) {
11             $table->increments('id')->comment('Identificatore univoco profilo');
16f0dd 12             $table->integer('LinkedMSISDN')->unsigned()->comment('MSISDN di appartenenza');
D 13             $table->foreign('LinkedMSISDN')->references('id')->on('fakesso_msisdn');
2f9a34 14             $table->string('tmCode', 255)->nullable();
D 15             $table->string('OMProductId', 255)->nullable();
16             $table->string('Name', 255)->nullable();
17             $table->string('Description', 255)->nullable();
18         });
19     }
20
21     public function down()
22     {
23         Schema::dropIfExists('fakesso_products');
24     }
25 };