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.
This commit is contained in:
Basraah 2017-02-12 17:23:33 +10:00 committed by GitHub
parent a6c48f8d71
commit fe9da4d5de

View File

@ -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