79634561

Date: 2025-05-22 21:29:14
Score: 1
Natty:
Report link

Prisma requires explicit relation names when you have multiple relations between the same two models—in this case, Game and User. Right now, Prisma can't tell which relation is which, hence the ambiguity error.

To fix this, you just need to name the relations explicitly using @relation(name: "RelationName").

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tuhin Shaikh