#!/usr/bin/env bash set -e 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 <