Search
Setup for Free
DT
Drizzle Team
•
2y ago
jakeleventhal
Default UUID as text type
What is the recommended way to set the id
(primary key
) field as a text type with a default value of uuid
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
MySQL UUID as PK
DT
Drizzle Team / help
3y ago
uuid becomes text in migration
DT
Drizzle Team / help
2y ago
uuid's being inferred as strings
DT
Drizzle Team / help
3y ago
how to convert serial to uuid type
DT
Drizzle Team / help
3y ago