mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
11 lines
278 B
Bash
Executable File
11 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
QUAYPATH=${QUAYPATH:-"."}
|
|
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
|
|
|
|
set -e
|
|
cd ${QUAYDIR:-"/"}
|
|
|
|
# Run the database migration
|
|
REVISION_HEAD=$(PYTHONPATH=${QUAYPATH:-"."} python $QUAYCONF/init/data_migration.py)
|
|
PYTHONPATH=${QUAYPATH:-"."} alembic upgrade $REVISION_HEAD
|