Join Slack
Powered by
Does anyone know how IDs are generated with Prisma...
# orm-help
g
Greyson
11/12/2018, 4:04 PM
Does anyone know how IDs are generated with Prisma? Trying to mimic that generation from my ORM for consistency
j
Jared
11/12/2018, 4:08 PM
https://github.com/prisma/cuid-java
Jared
11/12/2018, 4:08 PM
that's whats used.
https://www.prisma.io/docs/data-model-and-migrations/data-model-knul/
scroll down about half way to the scalar types section.
g
Greyson
11/12/2018, 4:09 PM
Thank you
j
Jared
11/12/2018, 4:09 PM
👍
Open in Slack
Previous
Next