DB: use django-safemigrations
for safer deploys
#10964
Labels
Improvement
Minor improvement to code
Needed: design decision
A core team decision is required
Operations
Operations or server issue
I've found the package https://github.com/aspiredu/django-safemigrate that helps making deployments safer by labeling migrations to be run before deploy, after deploy or always. This is essentially what we do via note cards in our GH release project. However, we need to do this manually at deploy time and it's easy to make mistake here.
I want to propose using this package and get the habit to label the migrations when developing so we make our deploys simpler and easier. Besides, we can adjust our deploy script to be more automated, without the need to jump into
web-extra
to run these migrations before continuing with the deployment.The text was updated successfully, but these errors were encountered: