Django 1.7: syncdb and migrate are now synonyms

(imported from commit b8a1b2476892bab2418240b04deea6aa40ff1b03)
This commit is contained in:
Reid Barton 2015-08-20 16:01:16 -07:00
parent dfdc34603e
commit 362f9c6c5f
3 changed files with 3 additions and 6 deletions

View File

@ -11,8 +11,7 @@ EOF
python manage.py checkconfig
python manage.py syncdb --noinput
python manage.py migrate
python manage.py migrate --noinput
python manage.py createcachetable third_party_api_results
python manage.py initialize_enterprise_db

View File

@ -5,8 +5,7 @@ DROP DATABASE IF EXISTS zulip;
CREATE DATABASE zulip TEMPLATE zulip_base;
EOF
python manage.py syncdb --noinput
python manage.py migrate
python manage.py migrate --noinput
python manage.py createcachetable third_party_api_results
python manage.py populate_db -n100 --threads=1
# Ensure that the local user's API key is synced from ~/.zuliprc

View File

@ -26,8 +26,7 @@ DROP DATABASE IF EXISTS zulip_test;
CREATE DATABASE zulip_test TEMPLATE zulip_test_base;
EOF
python manage.py syncdb --noinput --settings=zproject.test_settings
python manage.py migrate --settings=zproject.test_settings
python manage.py migrate --noinput --settings=zproject.test_settings
migration_status "zerver/fixtures/migration-status"
# This next line can be simplified to "-n0" once we fix our app (and tests) with 0 messages.