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:
parent
a0309b6303
commit
96e63f1572
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user