Hi! I'm running a NEXTjs with Prisma/Postgres db ...
# prisma-client
a
Hi! I'm running a NEXTjs with Prisma/Postgres db Wondering if someone can take a look at this gist to help me out. I'm having trouble with me model relations. https://gist.github.com/sebass-surfer/3a300a0d50abdcdad9bffbe9a05084c2
a
Hi Arthur 👋🏽 It seems you’re missing the
fields
property in your relations You can refer to the following docs to learn how to model relations in your schema https://www.prisma.io/docs/concepts/components/prisma-schema/relations
a
@Alex Ruheni You're so right! I've made some changes!