zulip/tools/do-schema-change

5 lines
201 B
Plaintext
Raw Normal View History

#!/bin/sh
echo "drop database humbug; create database humbug DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;" | mysql
python manage.py syncdb
python manage.py populate_db --replay-old-zephyrs -n0