Join Slack
Powered by
Hey guys, is there a way to have composite primary...
# orm-help
m
Mohit Gupta
06/05/2021, 7:51 AM
Hey guys, is there a way to have composite primary keys defined in Prisma schema?
d
Daniel Olavio Ferreira
06/05/2021, 7:58 AM
Hey Mohit, I believe this is what you are looking for
https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#id-1
👍 2
✅ 1
m
Mohit Gupta
06/05/2021, 12:10 PM
Thanks
@Daniel Olavio Ferreira
Open in Slack
Previous
Next