Fuzbo
Explore posts from serversDTDrizzle Team
•Created by Fuzbo on 5/26/2023 in #help
Many-to-Many Self Relation
I'm looking to migrate from Prisma, but I'm having trouble trying to figure out how a many-to-many self relation should be defined.
The prisma schema I has previously was similar to:
Currently my schema looks like:
I'm just not quite sure how to construct the relations properly for the self-referencing with the many-to-many relation.
69 replies