fix update unique name
This commit is contained in:
parent
d9b8f8be33
commit
295d7a5711
|
@ -22,7 +22,7 @@ class UpdateFacultyRequest extends FormRequest
|
||||||
'required',
|
'required',
|
||||||
'string',
|
'string',
|
||||||
'max:255',
|
'max:255',
|
||||||
"unique:educational_institutions,name,{$this->faculty->id}",
|
"unique:faculties,name,{$this->faculty->id}",
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue