How to define this exact relation on prisma
Given this two models, how could I implement a relation between them, where a duel has 2 user Ids in it, one in the loser column, and one in the winner column, how should I define this? Prisma screams at me for putting 2 user relations on the same model.
If anyone could help me how to define this I would appreciate!
0 Replies