Fix table reference for uniques
This commit is contained in:
parent
0dca866f11
commit
dad44db0bc
@ -33,7 +33,7 @@ class Fare extends Model
|
||||
];
|
||||
|
||||
public static $rules = [
|
||||
'code' => 'required|unique:fare',
|
||||
'code' => 'required|unique:fares',
|
||||
'name' => 'required',
|
||||
];
|
||||
|
||||
|
@ -40,7 +40,7 @@ class Subfleet extends Model
|
||||
];
|
||||
|
||||
public static $rules = [
|
||||
'type' => 'required|unique:subfleet',
|
||||
'type' => 'required|unique:subfleets',
|
||||
'name' => 'required',
|
||||
'ground_handling_multiplier' => 'nullable|numeric',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user