P
Prisma9mo ago
mskutle

When to run migrations

Hi! I'm a bit unsure as to when is the best time to run database migrations when deploying new versions of an app, and would love to hear your opinions. Many suggest to run migrations as part of the deploy step during CI/CD, but my concern is that there'll be a window of time where to database has been updated, but the new code hasn't been deployed yet. How do people deal with this? Or do some of you run migrations before starting the web server instead?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server