Remove airport length restrictions #590 (#592)

This commit is contained in:
Nabeel S
2020-02-27 11:37:05 -05:00
committed by GitHub
parent f2b216c404
commit dbaac04eea
4 changed files with 10 additions and 12 deletions

View File

@@ -93,8 +93,8 @@ class Flight extends Model
'flight_number' => 'required',
'route_code' => 'nullable',
'route_leg' => 'nullable',
'dpt_airport_id' => 'required|size:4|exists:airports,id',
'arr_airport_id' => 'required|size:4|exists:airports,id',
'dpt_airport_id' => 'required|exists:airports,id',
'arr_airport_id' => 'required|exists:airports,id',
'level' => 'nullable',
];