#48 add custom fields/values to flights

This commit is contained in:
Nabeel Shahzad
2017-07-11 17:44:12 -05:00
parent 35133fe0e6
commit 5ffd152a43
8 changed files with 189 additions and 47 deletions

View File

@@ -44,6 +44,7 @@ class CreateFlightsTable extends Migration
$table->uuid('flight_id');
$table->string('name', 50);
$table->text('value');
$table->timestamps();
});
}

View File

@@ -143,10 +143,10 @@ subfleet_fare:
subfleet_flight:
- subfleet_id: 1
flight_id: 1
flight_id: flightid_1
flights:
- id: 1
- id: flightid_1
airline_id: 1
flight_number: 100
dpt_airport_id: 1
@@ -155,13 +155,13 @@ flights:
flight_fields:
- id: 1
flight_id: 1
flight_id: flightid_1
name: terminal
value: B
pireps:
- user_id: 1
flight_id: 1
flight_id: flightid_1
aircraft_id: 1
dpt_airport_id: 1
arr_airport_id: 2