more schema adjustments to tighten up column types and constraints

This commit is contained in:
Nabeel Shahzad
2017-06-21 11:40:08 -05:00
parent 8dd29476c0
commit 381a713882
13 changed files with 19 additions and 43 deletions
@@ -28,7 +28,6 @@ class CreateFlightsTable extends Migration
$table->text('notes')->nullable();
$table->boolean('active')->default(true);
$table->timestamps();
$table->softDeletes();
$table->unique('flight_number');
@@ -41,7 +40,6 @@ class CreateFlightsTable extends Migration
$table->increments('id');
$table->integer('flight_id')->unsigned();
$table->integer('aircraft_id')->unsigned();
});
}