Change PIREP states to follow AIDX guidelines

This commit is contained in:
Nabeel Shahzad
2018-04-01 20:18:12 -05:00
parent ee077ffa16
commit 0f521c3af9
5 changed files with 36 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ class CreatePirepTables extends Migration
$table->unsignedTinyInteger('source')->nullable()->default(0);
$table->string('source_name', 25)->nullable();
$table->tinyInteger('state')->default(PirepState::PENDING);
$table->tinyInteger('status')->default(PirepStatus::SCHEDULED);
$table->char('status', 3)->default(PirepStatus::SCHEDULED);
$table->dateTime('block_off_time')->nullable();
$table->dateTime('block_on_time')->nullable();
$table->timestamps();