From e75e2a0ebc71a7022c264d0c9c334b2284872631 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 12 Dec 2017 13:35:54 -0600 Subject: [PATCH] Fix pirep status column --- database/migrations/2017_06_28_195426_create_pirep_tables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2017_06_28_195426_create_pirep_tables.php b/database/migrations/2017_06_28_195426_create_pirep_tables.php index b0c98800..c50ebf55 100644 --- a/database/migrations/2017_06_28_195426_create_pirep_tables.php +++ b/database/migrations/2017_06_28_195426_create_pirep_tables.php @@ -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();