Remove commented FK
This commit is contained in:
parent
24a1b0e8cf
commit
52d0e89a35
@ -17,18 +17,10 @@ class BuilderTableCreateGermanAirlinesVaFleetAircrafts extends Migration
|
||||
->references('id')
|
||||
->on('aircraft_types');
|
||||
$table->bigInteger('home_airport_id')->unsigned();
|
||||
//$table
|
||||
// ->foreign('home_airport_id')
|
||||
// ->references('id')
|
||||
// ->on('airports');
|
||||
$table
|
||||
->bigInteger('airport_id')
|
||||
->unsigned()
|
||||
->nullable();
|
||||
//$table
|
||||
// ->foreign('airport_id')
|
||||
// ->references('id')
|
||||
// ->on('airports');
|
||||
$table->string('name');
|
||||
$table->string('registration');
|
||||
$table->boolean('in_use')->default(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user