Fix table reference for uniques

This commit is contained in:
Nabeel Shahzad 2018-03-21 10:34:04 -05:00
parent 0dca866f11
commit dad44db0bc
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class Fare extends Model
];
public static $rules = [
'code' => 'required|unique:fare',
'code' => 'required|unique:fares',
'name' => 'required',
];

View File

@ -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',
];