Migrating prisma schema to drizzle

Hey you all, I'm currently migrating my prisma schema to drizzle. I'm using sqlite and checked out how the types of prisma transfer to sqlites types. However drizzle doesn't support numeric and decimal and I wondered which datatype I would use instead. Also what is the best way to implement prisma features like cuid() Using a library and then doing string("id").default(cuid()) cuid being a function exported from the library
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server