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
modelGroupListOrder {listList@relation(fields: [list_id], references: [id])list_idStringgroupGroup@relation(fields: [group_id], references: [id])group_idStringindexInt@@id(name: "group_list_order_id", [list_id, group_id])}// I get a linter error of:// Error validating: The argument fields must refer only to existing fields. // The following fields do not exist in this model: group_list_order_idmodelCardGroupOrder {groupGroupListOrder@relation(fields: [group_id], references: [group_list_order_id])group_idStringcardCard@relation(fields: [card_id], references: [id])card_idStringindexInt@@id([group_id, card_id])}
I can only think to add another id String @unique to GroupListOrder to make such a reference, but it seems repetitive?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I can only think to add another
id String @unique
to GroupListOrder to make such a reference, but it seems repetitive?Beta Was this translation helpful? Give feedback.
All reactions