Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
how to set an initial autoincrement value - Drizzle Team
DT
Drizzle Team
•
11mo ago
Pure
how to set an initial autoincrement value
Hello
, I want to set an initial autoincrement value for a table
.
which can normally be achieved with something like
:
ALTER TABLE penguins AUTO_INCREMENT=1001;
ALTER TABLE penguins AUTO_INCREMENT=1001;
how can I achieve this on schema generation
?
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Insert on postgres autoincrement expects a value
DT
Drizzle Team / help
3y ago
push:mysql autoincrement error
DT
Drizzle Team / help
2y ago
how to set default null to an int column
DT
Drizzle Team / help
3y ago