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
Error:
Error parsing attribute "@relation": A one-to-one relation must use unique fields on the defining side. Either add an @unique attribute to the field userId, or change the relation to one-to-many.
The text was updated successfully, but these errors were encountered:
One-to-one relation requires one side of reference to be marked @unique. It's not checked today.
repro:
Error:
Error parsing attribute "@relation": A one-to-one relation must use unique fields on the defining side. Either add an
@unique
attribute to the fielduserId
, or change the relation to one-to-many.The text was updated successfully, but these errors were encountered: