Is it necessary to define both sides of a relation?
I'm looking at the docs and it is not clear whether I need to define both sides (eg: both
one
and many
) of a relation when working with a Drizzle schema. I've just migrated my Prisma schema and I'm in the process of adding relations.
If I have this for example:
do I also have to add:
if I want to join my Organization
s when I query a Team
?0 Replies