Join Slack
Powered by
Are multi column unique constraints not supported ...
# orm-help
h
Halvor
07/31/2021, 6:31 PM
Are multi column unique constraints not supported by prisma on postgresql? Trying this on the table with no result when looking at it in pgAdmin.
Copy code
@@unique(fields: [arbitratedId, userId])
r
Ryan
08/02/2021, 5:29 AM
https://prisma.slack.com/archives/CA491RJH0/p1627882091041500?thread_ts=1627659304.015500&cid=CA491RJH0
16
Views
Open in Slack
Previous
Next