You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to create recipes with the same name. This is because of the following (from the Prisma docs):
All fields that make up the unique constraint must be mandatory fields.
The reason for this behavior is that all connectors consider null values to be distinct, which means that two rows that look identical are considered unique
The uniqueness check is currently done on the database level, and on the deletedAt attribute, which by default, obviously, is null.
The text was updated successfully, but these errors were encountered:
It's possible to create recipes with the same name. This is because of the following (from the Prisma docs):
The uniqueness check is currently done on the database level, and on the
deletedAt
attribute, which by default, obviously, isnull
.The text was updated successfully, but these errors were encountered: