Hi everyone, can anyone help me through figuring o...
# orm-help
t
Hi everyone, can anyone help me through figuring out how to map a user to follower relationship in prisma? currently using prisma 2 and i need to implement this feature in a project i'm working on. I want to do it in a way that it's easy to determine if user A and user B are both following each other and running queries like user.followers and user.following. My approach was to have a follow model that has two field of followerId and followingId that both references the userId in User but i'm getting an error that i should rename my relations. it get's a little bit complicated from there. Any help i can get now would be really great.