From fe9da4d5de9f8748bdcc7be8386a00d2060cf35e Mon Sep 17 00:00:00 2001 From: Basraah Date: Sun, 12 Feb 2017 17:23:33 +1000 Subject: [PATCH] Add fake initial Will cause Django to fake any initial migrations for tables that already exist. Required as we have moved some tables to other apps. If the tables don't exist, the initial migrations run as normal. --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 6ec2e407..9b25398f 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,4 @@ pip install --upgrade -r requirements.txt -python manage.py migrate +python manage.py migrate --fake-initial yes yes | python manage.py collectstatic python manage.py shell < run_alliance_corp_update.py