Closed fgilio closed 7 years ago
Hi! Just like the tittle says, validation rules are not being scoped. This results in errors when, for example, a unique rule is applied and there is already a same value from another Tenant.
unique
Validation rules do not go through Eloquent. If you need to add condition (such as a team_id) to your validation, see the docs for how to do that.
team_id
Yes, that's what I ended up doing. Thanks anyway!
Hi! Just like the tittle says, validation rules are not being scoped. This results in errors when, for example, a
unique
rule is applied and there is already a same value from another Tenant.