#21 base code for accepting/rejecting PIREPs

This commit is contained in:
Nabeel Shahzad
2017-07-04 01:05:37 -05:00
parent c310bffed9
commit 77b164a64c
14 changed files with 285 additions and 58 deletions

View File

@@ -23,8 +23,8 @@ class CreateUsersTable extends Migration
$table->integer('home_airport_id')->nullable()->unsigned();
$table->integer('curr_airport_id')->nullable()->unsigned();
$table->uuid('last_pirep_id')->nullable();
$table->bigInteger('flights')->nullable()->unsigned();
$table->bigInteger('flight_time')->nullable()->unsigned();
$table->bigInteger('flights')->unsigned()->default(0);
$table->bigInteger('flight_time')->unsigned()->default(0);
$table->decimal('balance', 19, 2)->nullable();
$table->tinyInteger('timezone')->default(0);
$table->boolean('active')->nullable();

View File

@@ -26,7 +26,8 @@ class CreatePirepsTable extends Migration
$table->integer('level')->unsigned();
$table->string('route')->nullable();
$table->string('notes')->nullable();
$table->tinyInteger('status');
$table->tinyInteger('source')->default(0);
$table->tinyInteger('status')->default(0);
$table->string('raw_data')->nullable();
$table->timestamps();
$table->softDeletes();