Fix pirep status column

This commit is contained in:
Nabeel Shahzad
2017-12-12 13:35:54 -06:00
parent c543b007fd
commit e75e2a0ebc

View File

@@ -30,7 +30,7 @@ class CreatePirepTables extends Migration
$table->string('route')->nullable();
$table->string('notes')->nullable();
$table->unsignedTinyInteger('source')->default(0);
$table->unsignedTinyInteger('status')->default(0);
$table->tinyInteger('status')->default(0); # -1 rejected, 0 pending, 1 accepted
$table->longText('raw_data')->nullable();
$table->timestamps();
$table->softDeletes();