Closed hellohasan closed 3 years ago
My code is that
'name' => "required|max:191|unique_with:academic_subjects,academic_class_id,ignore:{$id}", 'code' => "required|max:191|unique_with:academic_subjects,academic_class_id,ignore:{$id}",
Results: This combination of name, academic class id already exists.
This combination of name, academic class id already exists.
on my database name and code same but academic_class_id is different so the result is false. How I can fix it.
My code is that
Results:
This combination of name, academic class id already exists.
on my database name and code same but academic_class_id is different so the result is false. How I can fix it.