Expand flight types to match IATA SSIM
This commit is contained in:
@@ -28,7 +28,7 @@ class CreateFlightTables extends Migration
|
||||
$table->unsignedInteger('level')->nullable()->default(0);
|
||||
$table->unsignedDecimal('distance')->nullable()->default(0.0);
|
||||
$table->unsignedInteger('flight_time')->nullable();
|
||||
$table->tinyInteger('flight_type')->default(FlightType::PASSENGER);
|
||||
$table->char('flight_type', 1)->default(FlightType::SCHED_PAX);
|
||||
$table->text('route')->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
$table->boolean('has_bid')->default(false);
|
||||
|
||||
@@ -38,7 +38,7 @@ class CreatePirepTables extends Migration
|
||||
$table->text('notes')->nullable();
|
||||
$table->unsignedTinyInteger('source')->nullable()->default(0);
|
||||
$table->string('source_name', 25)->nullable();
|
||||
$table->tinyInteger('flight_type')->default(FlightType::PASSENGER);
|
||||
$table->tinyInteger('flight_type')->default(FlightType::SCHED_PAX);
|
||||
$table->tinyInteger('state')->default(PirepState::PENDING);
|
||||
$table->tinyInteger('status')->default(PirepStatus::SCHEDULED);
|
||||
$table->timestamps();
|
||||
|
||||
@@ -315,6 +315,7 @@ flights:
|
||||
level: 360
|
||||
dpt_time: 6PM CST
|
||||
arr_time: 11PM EST
|
||||
flight_type: J
|
||||
created_at: NOW
|
||||
updated_at: NOW
|
||||
- id: flightid_2
|
||||
@@ -325,6 +326,7 @@ flights:
|
||||
arr_airport_id: LGRP
|
||||
dpt_time: 9AM CST
|
||||
arr_time: 1030AM CST
|
||||
flight_type: J
|
||||
route: PITZZ4 MNURE WLEEE4
|
||||
created_at: NOW
|
||||
updated_at: NOW
|
||||
@@ -335,6 +337,7 @@ flights:
|
||||
route_leg: 1
|
||||
dpt_airport_id: EGLL
|
||||
arr_airport_id: KJFK
|
||||
flight_type: J
|
||||
dpt_time: 9AM CST
|
||||
arr_time: 1030AM CST
|
||||
route: PITZZ4 MNURE WLEEE4
|
||||
|
||||
Reference in New Issue
Block a user