zulip/scripts/setup/create-database

9 lines
257 B
Plaintext
Raw Normal View History

#!/bin/sh -xe
echo "DROP SCHEMA zulip CASCADE; CREATE SCHEMA zulip;" | python manage.py dbshell
python manage.py syncdb --noinput
python manage.py migrate
python manage.py createcachetable third_party_api_results
python manage.py initialize_enterprise_db