fix pirep ids in sample; rename navs to flight reports
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
@@ -338,23 +338,23 @@ pireps:
|
||||
|
||||
pirep_fares:
|
||||
- id: 1
|
||||
pirep_id: pirep_id_1
|
||||
pirep_id: pirepid_1
|
||||
fare_id: 1
|
||||
count: 300
|
||||
- id: 2
|
||||
pirep_id: pirep_id_1
|
||||
pirep_id: pirepid_1
|
||||
fare_id: 2
|
||||
count: 25
|
||||
- id: 3
|
||||
pirep_id: pirep_id_1
|
||||
pirep_id: pirepid_1
|
||||
fare_id: 3
|
||||
count: 10
|
||||
- id: 4
|
||||
pirep_id: pirep_id_2
|
||||
pirep_id: pirepid_2
|
||||
fare_id: 1
|
||||
count: 200
|
||||
- id: 5
|
||||
pirep_id: pirep_id_2
|
||||
pirep_id: pirepid_2
|
||||
fare_id: 3
|
||||
count: 15
|
||||
|
||||
|
||||
Reference in New Issue
Block a user