style and updates to the dashboard
This commit is contained in:
@@ -16,7 +16,7 @@ class CreatePirepsTable extends Migration
|
||||
Schema::create('pireps', function (Blueprint $table) {
|
||||
$table->uuid('id');
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->integer('airline_id')->unsigned()->nullable();
|
||||
$table->integer('airline_id')->unsigned();
|
||||
$table->uuid('flight_id')->nullable();
|
||||
$table->integer('aircraft_id')->nullable();
|
||||
$table->string('route_code', 5)->nullable();
|
||||
|
||||
@@ -17,7 +17,7 @@ users:
|
||||
home_airport_id: 1
|
||||
curr_airport_id: 2
|
||||
flights: 1
|
||||
flight_time: 21600
|
||||
flight_time: 43200
|
||||
created_at: now
|
||||
updated_at: now
|
||||
|
||||
@@ -198,6 +198,7 @@ user_flights:
|
||||
pireps:
|
||||
- id: pirepid_1
|
||||
user_id: 1
|
||||
airline_id: 1
|
||||
flight_id: flightid_1
|
||||
aircraft_id: 1
|
||||
dpt_airport_id: 1
|
||||
@@ -206,6 +207,17 @@ pireps:
|
||||
level: 320
|
||||
status: -1
|
||||
notes: just a pilot report
|
||||
- id: pirepid_2
|
||||
user_id: 1
|
||||
airline_id: 1
|
||||
flight_id: flightid_2
|
||||
aircraft_id: 1
|
||||
dpt_airport_id: 2
|
||||
arr_airport_id: 1
|
||||
flight_time: 21600 # 6 hours
|
||||
level: 320
|
||||
status: -1
|
||||
notes: just a pilot report
|
||||
|
||||
pirep_fields:
|
||||
- id: 1
|
||||
|
||||
Reference in New Issue
Block a user