diff --git a/tools/do-destroy-rebuild-database b/tools/do-destroy-rebuild-database index a056aafef4..44c745914f 100755 --- a/tools/do-destroy-rebuild-database +++ b/tools/do-destroy-rebuild-database @@ -4,6 +4,10 @@ set -x "$(dirname "$0")/../scripts/setup/terminate-psql-sessions" zulip zulip zulip_base +function migration_status { + ./manage.py get_migration_status --settings=zproject.settings > $1 +} + psql -h localhost postgres zulip <