#48 fixed some db field errors
This commit is contained in:
@@ -23,8 +23,6 @@ class CreateFaresTable extends Migration
|
||||
$table->string('notes')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
$table->timestamps();
|
||||
|
||||
$table->primary('id');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class CreateFlightsTable extends Migration
|
||||
$table->text('route')->nullable();
|
||||
$table->text('dpt_time', 10)->nullable();
|
||||
$table->text('arr_time', 10)->nullable();
|
||||
$table->double('flight_time', 19, 2)->unsigned();
|
||||
$table->double('flight_time', 19, 2)->unsigned()->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
$table->timestamps();
|
||||
|
||||
@@ -153,6 +153,12 @@ flights:
|
||||
arr_airport_id: 2
|
||||
route: KAUS KJFK
|
||||
|
||||
flight_fields:
|
||||
- id: 1
|
||||
flight_id: 1
|
||||
name: terminal
|
||||
value: B
|
||||
|
||||
pireps:
|
||||
- user_id: 1
|
||||
flight_id: 1
|
||||
|
||||
Reference in New Issue
Block a user