mirror of https://github.com/zulip/zulip.git
Add tool to replace the production server's database schema.
(imported from commit 2aeab792275e43549f3644875a5c360b0f0582a1)
This commit is contained in:
parent
b8236b5a60
commit
78dae6a11d
|
@ -0,0 +1,4 @@
|
|||
#!/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
|
Loading…
Reference in New Issue