Add/implement subfleet cost_block_hour and block_time for PIREP API

This commit is contained in:
Nabeel Shahzad
2018-03-29 13:42:16 -05:00
parent 0bf1286c3a
commit cf43685740
11 changed files with 118 additions and 19 deletions
@@ -15,6 +15,8 @@ class CreateSubfleetTables extends Migration
$table->unsignedInteger('airline_id')->nullable();
$table->string('type', 50)->unique();
$table->string('name', 50);
$table->unsignedDecimal('cost_block_hour');
$table->unsignedDecimal('cost_delay_minute');
$table->unsignedTinyInteger('fuel_type')->nullable();
$table->unsignedDecimal('ground_handling_multiplier')->nullable()->default(100);
$table->unsignedDecimal('cargo_capacity')->nullable();
@@ -28,6 +28,7 @@ class CreatePirepTables extends Migration
$table->unsignedInteger('level')->nullable();
$table->unsignedDecimal('distance')->nullable();
$table->unsignedDecimal('planned_distance')->nullable();
$table->unsignedInteger('block_time')->nullable();
$table->unsignedInteger('flight_time')->nullable();
$table->unsignedInteger('planned_flight_time')->nullable();
$table->unsignedDecimal('zfw')->nullable();