P
Prisma3mo ago
GGA557

Does Prisma ORM support CUIDv2?

Hi, I have a question on the CUID's used in Prisma. I've read the docs and I saw that in the CUID page linked, the project has been deprecated in favor of a CUIDv2. Does Prisma ORM use this new CUID or what are the plans regarding this, if any?
1 Reply
jonfanz
jonfanz3mo ago
Hi there! We have an existing feature request for this: https://github.com/prisma/prisma/issues/17102
GitHub
Make cuid2 available in @default · Issue #17102 · prisma/prisma
Problem cuid() is deprecated now due to security reasons, can we let cuid2 be an option when generating ids?