Add extra fields needed for internal active flags
This commit is contained in:
parent
9502dd9835
commit
fe5400a3bb
@ -36,6 +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->timestamps();
|
||||
|
||||
$table->primary('id');
|
||||
|
@ -22,6 +22,8 @@ class CreateRanksTable extends Migration
|
||||
$table->boolean('auto_approve_acars')->nullable()->default(false);
|
||||
$table->boolean('auto_approve_manual')->nullable()->default(false);
|
||||
$table->boolean('auto_promote')->nullable()->default(true);
|
||||
$table->boolean('auto_approve_above_score')->nullable()->default(false);
|
||||
$table->smallInteger('auto_approve_score')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->unique('name');
|
||||
|
@ -36,6 +36,7 @@ class CreatePirepTables extends Migration
|
||||
$table->unsignedDecimal('block_fuel')->nullable();
|
||||
$table->unsignedDecimal('fuel_used')->nullable();
|
||||
$table->decimal('landing_rate')->nullable();
|
||||
$table->smallInteger('score')->nullable();
|
||||
$table->text('route')->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
$table->unsignedTinyInteger('source')->nullable()->default(0);
|
||||
|
Loading…
Reference in New Issue
Block a user