Extra logging for cron and add flight visible field
This commit is contained in:
@@ -16,12 +16,12 @@ class CreateAirportsTable extends Migration
|
||||
$table->string('country', 64)->nullable();
|
||||
$table->string('timezone', 64)->nullable();
|
||||
$table->boolean('hub')->default(false);
|
||||
$table->float('lat', 7, 4)->nullable()->default(0.0);
|
||||
$table->float('lon', 7, 4)->nullable()->default(0.0);
|
||||
$table->unsignedDecimal('ground_handling_cost')->nullable()->default(0);
|
||||
$table->unsignedDecimal('fuel_100ll_cost')->nullable()->default(0);
|
||||
$table->unsignedDecimal('fuel_jeta_cost')->nullable()->default(0);
|
||||
$table->unsignedDecimal('fuel_mogas_cost')->nullable()->default(0);
|
||||
$table->float('lat', 7, 4)->nullable()->default(0.0);
|
||||
$table->float('lon', 7, 4)->nullable()->default(0.0);
|
||||
|
||||
$table->index('icao');
|
||||
$table->index('iata');
|
||||
|
||||
@@ -36,7 +36,7 @@ class CreateFlightTables extends Migration
|
||||
$table->date('end_date')->nullable();
|
||||
$table->boolean('has_bid')->default(false);
|
||||
$table->boolean('active')->default(true);
|
||||
$table->boolean('flight_active')->default(true); // used by the cron
|
||||
$table->boolean('visible')->default(true); // used by the cron
|
||||
$table->timestamps();
|
||||
|
||||
$table->primary('id');
|
||||
|
||||
Reference in New Issue
Block a user