Backup database as part of the migration process

This commit is contained in:
Oliver Walters 2019-09-08 19:43:10 +10:00
parent dac61eafa2
commit 35ebc69235

View File

@ -8,7 +8,7 @@ clean:
rm -f .coverage
# Perform database migrations (after schema changes are made)
migrate:
migrate: backup
python3 InvenTree/manage.py makemigrations common
python3 InvenTree/manage.py makemigrations company
python3 InvenTree/manage.py makemigrations part