Add addtl fields to pirep - block_off and block_on times, calculate block_off time if not there
This commit is contained in:
@@ -39,9 +39,10 @@ class CreatePirepTables extends Migration
|
||||
$table->text('route')->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
$table->unsignedTinyInteger('source')->nullable()->default(0);
|
||||
$table->string('source_name', 25)->nullable();
|
||||
$table->string('source_name', 50)->nullable();
|
||||
$table->tinyInteger('state')->default(PirepState::PENDING);
|
||||
$table->char('status', 3)->default(PirepStatus::SCHEDULED);
|
||||
$table->dateTime('submitted_at')->nullable();
|
||||
$table->dateTime('block_off_time')->nullable();
|
||||
$table->dateTime('block_on_time')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user