#21 adjust the pirep view/edit form
This commit is contained in:
@@ -77,7 +77,7 @@ class CreatePirepsTable extends Migration
|
||||
$table->uuid('pirep_id');
|
||||
$table->string('name', 50);
|
||||
$table->text('value');
|
||||
$table->tinyInteger('source')->default(0);
|
||||
$table->string('source')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->index('pirep_id');
|
||||
|
||||
@@ -160,7 +160,8 @@ flight_fields:
|
||||
value: B
|
||||
|
||||
pireps:
|
||||
- user_id: 1
|
||||
- id: pirepid_1
|
||||
user_id: 1
|
||||
flight_id: flightid_1
|
||||
aircraft_id: 1
|
||||
dpt_airport_id: 1
|
||||
@@ -169,3 +170,15 @@ pireps:
|
||||
level: 320
|
||||
status: -1
|
||||
notes: just a pilot report
|
||||
|
||||
pirep_fields:
|
||||
- id: 1
|
||||
name: arrival gate
|
||||
required: 0
|
||||
|
||||
pirep_field_values:
|
||||
- id: 1
|
||||
pirep_id: pirepid_1
|
||||
name: arrival gate
|
||||
value: B14
|
||||
source: manual
|
||||
|
||||
Reference in New Issue
Block a user