foreign keys
This commit is contained in:
@@ -46,7 +46,7 @@ class CreateNewMoonRentalTables extends Migration
|
|||||||
Schema::create('alliance_moon_ores', function (Blueprint $table) {
|
Schema::create('alliance_moon_ores', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->unsignedBigInteger('moon_id');
|
$table->unsignedBigInteger('moon_id');
|
||||||
$table->string('moon_name');
|
$table->string('moon_name')->default('Not Assigned');
|
||||||
$table->unsignedBigInteger('ore_type_id');
|
$table->unsignedBigInteger('ore_type_id');
|
||||||
$table->string('ore_name');
|
$table->string('ore_name');
|
||||||
$table->float('quantity');
|
$table->float('quantity');
|
||||||
|
|||||||
Reference in New Issue
Block a user