Relations issue
how do I write relations that have multiple columns that are related to one entity
1 Reply
@Tekipeps I believe this is what you're looking for:
https://www.prisma.io/docs/orm/prisma-schema/data-model/relations#disambiguating-relations
Relations (Reference) | Prisma Documentation
A relation is a connection between two models in the Prisma schema. This page explains how you can define one-to-one, one-to-many and many-to-many relations in Prisma.