Hi Prisma team, I'm building an app, that initially made with Mongo, now I'm migrating it to Postgres and of course, I'm using this beauty of Prisma.
Today, while I was trying to make a huge insert in a table via prismaSerivce (because I'm using nestjs), got an error that has the same title as above there 馃憜馃徏 I realized that it has a body that contains some weird code and then has this message: If you want the Prisma team to look into it, please open the link above... So here I am, but what should I do with the body? Because has some names and directions that I would not like to be public.
Thanks 馃槂
Hey @sk8Guerra
Can you please provide a minimal reproduction for that above issue? We can't identify if there is a bug in our system with a reproduction. Thanks!
Hi, @pantharshit00 thanks for your attention, but it turns out that, my issue was with Postgres. _I created a table that has a foreign key, to another table, but for some reason, the foreign key was pointing to the table itself, not to the other one._ So, here is what happened to me, in case someone is having Prisma telling you the error up there in the title of this issue.
I'm closing this issue. 馃槂
Technically that should also work @sk8Guerra - do you still have an export of that database schema so we can possibly recreate the problem you were getting?
@janpio I've actually changed it, but I can re-create it. Then I can send it to you, is it ok?
Yes, that would be great. If you can even recreate it in a minimal example and put it on GitHub, that would even be better - because that would be our next step as well.
@janpio a mini nestjs project with the setup like when the error occurred?
That would be _perfect_.
Just give me some time. 馃槈