© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
postges, auto-generated uuid as primary key - Drizzle Team
DT
Drizzle Team
•
3y ago
•
11 replies
pastilhas
postges, auto-generated uuid as primary key
I
'm looking to change all my tables from having a serial int primary key as ID
what is the best way for generating the column definition in the drizzle schema file
?
Thank you
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Unable to generate uuid as primary key
DT
Drizzle Team / help
3y ago
Is it good to use UUID as primary key ?
DT
Drizzle Team / help
3y ago
Cursor pagination on table using UUID as primary key
DT
Drizzle Team / help
3y ago
Enum as primary key for roles (sqlite)
DT
Drizzle Team / help
2y ago