CRUGG
CRUGG
Explore posts from servers
PPrisma
Created by CRUGG on 7/16/2024 in #help-and-questions
Definitive Solution for automatic migration running?
Hey there! I want to use Prisma in an open-source application others can deploy on their own servers. I want the user to not worry about having to run any migrations, especially after updates, etc. What would be the definitive solution to make my app ensure that it's always on the latest state regarding migrations on launch? I've seen quite a few solutions, such as a wrapper that runs migrate and then launches the app, but that seems kind of hacky, so I was wondering if there's something better?
2 replies