© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•11mo ago
MaksimM

What's is the recommended way to do DB migrations, when deploying to vercel?

Now I do the migration right after building the app, here is my build command:
vinxi build && drizzle-kit push
vinxi build && drizzle-kit push


Is this approach fine, or is there some gotchas? What's the recommended way to solve it? Couldn't find info in docs
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What's the best way to query my db?
Drizzle TeamDTDrizzle Team / help
2y ago
What's the recommended way to handle joins that aggregate results?
Drizzle TeamDTDrizzle Team / help
15mo ago
What's the best way to deploy migrations on production database?
Drizzle TeamDTDrizzle Team / help
3y ago
What's the recommended way to do a basic filter by a boolean column's value?
Drizzle TeamDTDrizzle Team / help
2y ago