DT
Join ServerDrizzle Team
help
uuid missing in drizzle-orm/mysql-core?
There is a uuid method in the drizzle-orm/pg-core package, but none in the mysql-core package. What is the reason behind this? What should we use instead to generate uuids automatically?
We only provide what the underlying dialect provides
Postgres has a uuid column type and MySQL doesn't
oh ok! what is the alternative that i could use?
do you happen to know what prisma does, do they just do a plain
do you happen to know what prisma does, do they just do a plain
crypto.randomUUID()
as a fallback?Yes, something like that I think