Remove commented FK

This commit is contained in:
Kilian Hofmann 2021-08-14 18:20:58 +02:00
parent 24a1b0e8cf
commit 52d0e89a35

View File

@ -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);