Getting Started With Drizzle And Had A Few Questions
Hi! I'm getting started with drizzle after having been a long time Prisma user. I had a few questions about Drizzle as I'm getting started:
1. Is there a "cuid()" type of functionality where instead of using a integer key I can use a CUID?
2. How can I set non-id fields to be unique (In prisma, this was doable with the
@unique
)?
Thanks in advance for the help!0 Replies