i want to validate email field to multiple table given logic check only validate one table
$this->validate($request, [
'email' => 'required|email|max:255|unique:users',
'email' => 'unique:suspend_users',
]);
or
$this->validate($request, [
'email' =>'required|email|max:255|unique:users|unique:suspend_users',
]);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire