2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 18:45:40 +00:00

Update makefile and docs

This commit is contained in:
Oliver Walters
2019-09-08 20:45:01 +10:00
parent e4fc44c135
commit d7f969613e
2 changed files with 11 additions and 3 deletions

View File

@ -7,8 +7,10 @@ clean:
rm -rf .tox
rm -f .coverage
update: backup migrate
# Perform database migrations (after schema changes are made)
migrate: backup
migrate:
python3 InvenTree/manage.py makemigrations common
python3 InvenTree/manage.py makemigrations company
python3 InvenTree/manage.py makemigrations part
@ -64,4 +66,4 @@ backup:
python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate superuser install mysql style test coverage docreqs docs backup
.PHONY: clean migrate superuser install mysql style test coverage docreqs docs backup update