From a61f646ac00e7be82c0a3ff77607bc570f189361 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 7 Jan 2020 18:12:30 +0100 Subject: [PATCH] make migrations on the first run of the inventory app --- production.sh | 1 + run.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/production.sh b/production.sh index 9c54598..6e705e8 100755 --- a/production.sh +++ b/production.sh @@ -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 diff --git a/run.sh b/run.sh index 194bffb..84bbeb3 100755 --- a/run.sh +++ b/run.sh @@ -4,6 +4,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