Typerating FK and editor changes to match
This commit is contained in:
@@ -19,6 +19,8 @@ class BuilderTableCreateGermanAirlinesVaAircraftManufacturers extends Migration
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::connection('germanairlinesva_fleet')->disableForeignKeyConstraints();
|
||||
Schema::connection('germanairlinesva_fleet')->dropIfExists('aircraft_manufacturers');
|
||||
Schema::connection('germanairlinesva_fleet')->enableForeignKeyConstraints();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,6 @@ class BuilderTableCreateGermanAirlinesVaAircraftTypes extends Migration
|
||||
->references('id')
|
||||
->on('aircraft_manufacturers');
|
||||
$table->bigInteger('typerating_id')->unsigned();
|
||||
//$table
|
||||
// ->foreign('typerating_id')
|
||||
// ->references('id')
|
||||
// ->on('typeratings');
|
||||
$table->boolean('only_charter');
|
||||
$table->string('type');
|
||||
$table->text('description');
|
||||
|
||||
Reference in New Issue
Block a user