Make hub_id optional in subfleet import (#1314)

`hub_id` is not a mandatory field (both in model and database), so it should be `nullable` here too.
This commit is contained in:
B.Fatih KOZ 2021-09-21 16:14:36 +03:00 committed by GitHub
parent a0309b6303
commit 96e63f1572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ class SubfleetImporter extends ImportExport
*/
public static $columns = [
'airline' => 'required',
'hub_id' => 'required',
'hub_id' => 'nullable',
'type' => 'required',
'simbrief_type' => 'nullable',
'name' => 'required',