I have foreign key constraints on postgres.
And when I use prisma transaction to push data to two tables with two prisma queries, its throwing error (violating foreign key constraints).
Is there a way to solve it
👀 1
a
Alex Ruheni
07/14/2022, 12:36 PM
Hi Neeraj 👋🏾
Could you share a snippet of your Prisma schema and the failing query?
v
Vladi Stevanovic
07/18/2022, 7:56 PM
👋 hey @NEERAJ SAMEER ALLU! Did you have a chance to see Alex's comment?
Let us know if you still have any issues!