fix pirep ids in sample; rename navs to flight reports

This commit is contained in:
Nabeel Shahzad
2018-02-24 16:05:00 -06:00
parent d0b3b27975
commit 3bbcd2a20d
5 changed files with 11 additions and 9 deletions

View File

@@ -63,7 +63,7 @@ class CreatePirepTables extends Migration
$table->bigIncrements('id');
$table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH);
$table->unsignedInteger('fare_id');
$table->unsignedInteger('count')->nullable();
$table->unsignedInteger('count')->nullable()->default(0);
$table->index('pirep_id');
});