This repository has been archived on 2020-03-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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