7 months ago

Unique field applying to soft-deleted models as well?

Posted 7 months ago by tspesh

I built a system in which the model in question must have a unique name. The model also has soft-deletes enabled. Is it possible for that unique name field to only apply to entries that aren't soft deleted?

Please sign in or create an account to participate in this conversation.