© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
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 TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

MySQL UUID as PK
Drizzle TeamDTDrizzle Team / help
3y ago
uuid becomes text in migration
Drizzle TeamDTDrizzle Team / help
2y ago
uuid's being inferred as strings
Drizzle TeamDTDrizzle Team / help
3y ago
how to convert serial to uuid type
Drizzle TeamDTDrizzle Team / help
3y ago