© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to run generate & migrate in production on a VPS for SQLite Database? - Drizzle Team
DT
Drizzle Team
•
3y ago
•
4 replies
Startup Spells 🪄 Newsletter Guy
How to run generate & migrate in production on a VPS for SQLite Database?
So I have a database in development that I run
db:generate
db:generate
&
db:migrate
db:migrate
on to create the database
& then run my app that uses it
.
But how do I do that in production when I can
't run direct commands
. I
'm using
https://easypanel.io
on a self
-hosted VPS
.
Do I just use pre
-scripts or post
-scripts
? What is the recommended way to go about it
?
Easypanel
Manage your server without fighting the terminal
. Server control panel based on Docker
.
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 migration for sqlite
DT
Drizzle Team / help
3y ago
[How To?] Generate uuids properly on cloudflare d1 sqlite...
DT
Drizzle Team / help
3y ago
How to run migrations in production environment?
DT
Drizzle Team / help
13mo ago
How to connect to local sqlite database
DT
Drizzle Team / help
2y ago