This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/init/runmigration.sh
2017-07-05 16:23:54 +02:00

6 lines
No EOL
125 B
Bash
Executable file

#!/bin/bash
set -e
cd ${QUAYDIR:-"/"}
# Run the database migration
PYTHONPATH=${QUAYPATH:-"."} venv/bin/alembic upgrade head