Fix column type for flight_type

This commit is contained in:
Nabeel Shahzad
2018-03-29 11:38:39 -05:00
parent bc013e31c8
commit 184123194b

View File

@@ -38,7 +38,7 @@ class CreatePirepTables extends Migration
$table->text('notes')->nullable();
$table->unsignedTinyInteger('source')->nullable()->default(0);
$table->string('source_name', 25)->nullable();
$table->tinyInteger('flight_type')->default(FlightType::SCHED_PAX);
$table->char('flight_type', 1)->default(FlightType::SCHED_PAX);
$table->tinyInteger('state')->default(PirepState::PENDING);
$table->tinyInteger('status')->default(PirepStatus::SCHEDULED);
$table->timestamps();