Add a ground_handling_multiplier to the subfleet table #134

This commit is contained in:
Nabeel Shahzad
2018-02-23 16:00:14 -06:00
parent 4142d5d28a
commit db94f5b405
4 changed files with 37 additions and 12 deletions
@@ -19,6 +19,7 @@ class CreateSubfleetTables extends Migration
$table->string('name', 50);
$table->string('type', 50);
$table->unsignedTinyInteger('fuel_type')->nullable();
$table->unsignedDecimal('ground_handling_multiplier')->nullable()->default(100);
$table->unsignedDecimal('cargo_capacity')->nullable();
$table->unsignedDecimal('fuel_capacity')->nullable();
$table->unsignedDecimal('gross_weight')->nullable();
+4 -2
View File
@@ -183,10 +183,12 @@ subfleets:
airline_id: 1
name: 747-400 Winglets
type: 744W
ground_handling_multiplier: 200
- id: 2
airline_id: 1
name: 777-200 LR
type: 772-LR
ground_handling_multiplier: 150
# add a few mods to aircraft and fares
subfleet_fare:
@@ -248,8 +250,8 @@ flights:
flight_number: 6028
route_code: A
route_leg: 1
dpt_airport_id: KIAH
arr_airport_id: KAUS
dpt_airport_id: EGLL
arr_airport_id: KJFK
dpt_time: 9AM CST
arr_time: 1030AM CST
route: PITZZ4 MNURE WLEEE4