Cleanup column types and assign Time class to fields #189
This commit is contained in:
@@ -28,7 +28,7 @@ class CreateFlightTables extends Migration
|
||||
$table->string('arr_time', 10)->nullable();
|
||||
$table->unsignedInteger('level')->nullable()->default(0);
|
||||
$table->unsignedDecimal('distance', 19)->nullable()->default(0.0);
|
||||
$table->unsignedDecimal('flight_time', 19)->nullable();
|
||||
$table->unsignedInteger('flight_time')->nullable();
|
||||
$table->tinyInteger('flight_type')->default(FlightType::PASSENGER);
|
||||
$table->text('route')->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
|
||||
@@ -31,8 +31,8 @@ class CreatePirepTables extends Migration
|
||||
$table->unsignedInteger('level')->nullable();
|
||||
$table->unsignedDecimal('distance')->nullable();
|
||||
$table->unsignedDecimal('planned_distance')->nullable();
|
||||
$table->unsignedDecimal('flight_time', 19)->nullable();
|
||||
$table->unsignedDecimal('planned_flight_time', 19)->nullable();
|
||||
$table->unsignedInteger('flight_time')->nullable();
|
||||
$table->unsignedInteger('planned_flight_time')->nullable();
|
||||
$table->unsignedDecimal('zfw', 19)->nullable();
|
||||
$table->unsignedDecimal('block_fuel', 19)->nullable();
|
||||
$table->unsignedDecimal('fuel_used', 19)->nullable();
|
||||
|
||||
Reference in New Issue
Block a user