set/add timezone information for airports and users
This commit is contained in:
@@ -26,7 +26,7 @@ class CreateUsersTable extends Migration
|
||||
$table->bigInteger('flights')->unsigned()->default(0);
|
||||
$table->bigInteger('flight_time')->unsigned()->default(0);
|
||||
$table->decimal('balance', 19, 2)->nullable();
|
||||
$table->tinyInteger('timezone')->default(0);
|
||||
$table->string('timezone', 64)->nullable();
|
||||
$table->boolean('active')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
|
||||
@@ -20,6 +20,7 @@ class CreateAirportsTable extends Migration
|
||||
$table->string('name', 50);
|
||||
$table->string('location', 50)->nullable();
|
||||
$table->string('country', 50)->nullable();
|
||||
$table->string('timezone', 64)->nullable();
|
||||
$table->double('fuel_100ll_cost', 19, 2)->default(0);
|
||||
$table->double('fuel_jeta_cost', 19, 2)->default(0);
|
||||
$table->double('fuel_mogas_cost', 19, 2)->default(0);
|
||||
|
||||
@@ -94,18 +94,21 @@ airports:
|
||||
location: Austin, Texas, USA
|
||||
lat: 30.1945278
|
||||
lon: -97.6698889
|
||||
timezone: America/Chicago
|
||||
- id: KJFK
|
||||
icao: KJFK
|
||||
name: John F Kennedy
|
||||
location: New York, New York, USA
|
||||
lat: 40.6399257
|
||||
lon: -73.7786950
|
||||
timezone: America/New_York
|
||||
- id: EGLL
|
||||
icao: EGLL
|
||||
name: London Heathrow
|
||||
location: London, England
|
||||
lat: 51.4775
|
||||
lon: -0.4614
|
||||
timezone: Europe/London
|
||||
|
||||
#
|
||||
aircraft:
|
||||
|
||||
Reference in New Issue
Block a user