make migrations on the first run of the inventory app
This commit is contained in:
parent
bfea2ca2c1
commit
a61f646ac0
|
@ -3,6 +3,7 @@ if [ -f ./.second_run ]; then
|
|||
python manage.py makemigrations
|
||||
python manage.py migrate
|
||||
else
|
||||
python manage.py makemigrations inventory
|
||||
python manage.py makemigrations
|
||||
python manage.py migrate
|
||||
python manage.py loaddata inventory
|
||||
|
|
Loading…
Reference in New Issue