Remove the flight_id column from the pireps table

This commit is contained in:
Nabeel Shahzad
2018-02-24 15:51:04 -06:00
parent 7345dd8076
commit d0b3b27975
5 changed files with 1 additions and 11 deletions

View File

@@ -27,7 +27,6 @@ class FileRequest extends FormRequest
'airline_id' => 'nullable|exists:airlines,id',
'aircraft_id' => 'nullable|exists:aircraft,id',
'flight_id' => 'nullable|exists:flights,id',
'flight_number' => 'nullable',
'dpt_airport_id' => 'nullable',
'arr_airport_id' => 'nullable',

View File

@@ -23,7 +23,6 @@ class UpdateRequest extends FormRequest
$rules = [
'airline_id' => 'nullable|exists:airlines,id',
'aircraft_id' => 'nullable|exists:aircraft,id',
'flight_id' => 'nullable|exists:flights,id',
'flight_number' => 'nullable',
'dpt_airport_id' => 'nullable',
'arr_airport_id' => 'nullable',