This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
upsert on compound primary key should do ON CONFLICT DO ... in postgresql - IS BACK #22675
Labels
kind/bug
A reported bug.
Bug description
It is the same bug as this #18883
It reapered on v5
How to reproduce
I'm also facing this problem with prisma v5.6
Expected behavior
the same as #18883
Prisma information
no longer have it. It has been more than a month since I reported it here #18883
Environment & setup
OBS: this bug actually happened when I was using mongodb. When I changed to postgres I no longer needed that compound key, so the issue was gone because I removed it. So I can't know for sure if the bug exists in postgres. Please, run a test using the sample model I shared
Prisma Version
The text was updated successfully, but these errors were encountered: