allow marking of airport as hub and restrict to hubs at registration #86
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateAirportsTable extends Migration
|
||||
$table->string('location', 100)->nullable();
|
||||
$table->string('country', 64)->nullable();
|
||||
$table->string('tz', 64)->nullable();
|
||||
$table->boolean('hub')->default(true);
|
||||
$table->boolean('hub')->default(false);
|
||||
$table->unsignedDecimal('fuel_100ll_cost', 19)->default(0);
|
||||
$table->unsignedDecimal('fuel_jeta_cost', 19)->default(0);
|
||||
$table->unsignedDecimal('fuel_mogas_cost', 19)->default(0);
|
||||
|
||||
@@ -12,4 +12,5 @@ airports:
|
||||
country: United States
|
||||
lat: 30.1945278
|
||||
lon: -97.6698889
|
||||
hub: 1
|
||||
tz: America/Chicago
|
||||
|
||||
@@ -12,4 +12,5 @@ airports:
|
||||
country: United States
|
||||
lat: 30.1945278
|
||||
lon: -97.6698889
|
||||
hub: 1
|
||||
tz: America/Chicago
|
||||
|
||||
@@ -94,6 +94,7 @@ airports:
|
||||
country: United States
|
||||
lat: 30.1945278
|
||||
lon: -97.6698889
|
||||
hub: 1
|
||||
tz: America/Chicago
|
||||
- id: KJFK
|
||||
iata: JFK
|
||||
@@ -103,6 +104,7 @@ airports:
|
||||
country: United States
|
||||
lat: 40.6399257
|
||||
lon: -73.7786950
|
||||
hub: 1
|
||||
tz: America/New_York
|
||||
- id: KBWI
|
||||
iata: BWI
|
||||
|
||||
Reference in New Issue
Block a user