4 ms·
This fails as soon as you have multiple instances of your app running (for load balancing or HA reason). Server one might still be running version A while serve
by Sebb767 5y ago
This fails as soon as you have multiple instances of your app running (for load balancing or HA reason). Server one might still be running version A while server two is running the migrations done by version B - leading A to crash or corrupt data. If shutting down for the length of the update is not an option anymore, you will need to use the process the author pointed out.
- Tainnor 5y agoThat's not really related to the topic of DB versioning though, I feel. What you said is true, however it only matters if the DB operations are backwards-incompatible (something which you can avoid by using the approaches from the article).