© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
3y ago
•
7 replies
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,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
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