Hi, I’m quite new to Prisma and databases actuall...
# orm-help
h
Hi, I’m quite new to Prisma and databases actually 🙂 I’d like to know if it’s possible to have a table that is linked to two tables. I have one table
Section
and this table is linked to another table
SectionItem
, I have two other tables,
Quotation
and
Invoice
and I want to be able to add sections and sectionItems to either
Quotation
or
Invoice
. Is this even possible? How could I do this in Prisma? How can I create a model that allows me to do this? Thank you
1
c
You can manually disambiguate relations by giving them different names.
h
👍 thank you 🙂 much appreciated