Prisma3mo ago

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
jonfanz3mo ago
Hi there! We have an existing feature request for this: https://github.com/prisma/prisma/issues/17102
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?