mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Django 1.7: syncdb and migrate are now synonyms
(imported from commit b8a1b2476892bab2418240b04deea6aa40ff1b03)
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user