# run this as
# ./setup_env_for_db_cmd "migrate upgrade head"
# or any other cozm database command
# after you have setup these variables for the environment
# you want to modify
export PIPEDREAM_REQUEUE__POSTGRES__DATABASE_NAME=""
export PIPEDREAM_REQUEUE__POSTGRES__HOST=""
export PIPEDREAM_REQUEUE__POSTGRES__PASSWORD=""
export PIPEDREAM_REQUEUE__POSTGRES__USERNAME=""

echo "Running $1"

$1

unset PIPEDREAM_REQUEUE__POSTGRES__PASSWORD
