Answer the question
In order to leave comments, you need to log in
How to change Laravel validator model?
when checking for uniqueness in a table, the Laravel validator accesses the table directly by name and not through the model. But I use tenant models that change the connection to different bases. And it turns out that the validator is trying to make requests to the database using a standard connection. Please point me in which direction to think. and is it possible somehow to use not the name of the table but the model.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question