Conditional Unique Constraint
Django offers a conditinal uniqueness constraint:
Is there anything like this in prisma?
This is useful for the soft delete pattern, where anything that's "deleted" (but still in the DB) doesn't require the same constraints as the real active data
Is there anything like this in prisma?
This is useful for the soft delete pattern, where anything that's "deleted" (but still in the DB) doesn't require the same constraints as the real active data