This website requires JavaScript.
Explore
Help
Sign in
vbatts
/
quay
Archived
Watch
1
Star
0
Fork
You've already forked quay
0
Code
Issues
Pull requests
Releases
Wiki
Activity
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.
f6a53f7cc5
quay
/
conf
/
init
/
runmigration.sh
5 lines
92 B
Bash
Raw
Normal View
History
Unescape
Escape
Run the db migrations on container start unless we're running against Sqlite.
2014-05-13 19:20:17 +00:00
#! /bin/bash
set
-e
# Run the database migration
Switch postgres to a non-transactional DDL to allow us to use peewee to modify data in migrations: enterprise customers are running postgres migrations offline already. Move the image backfill script back to a migration since it will now work. Unify the interface to sending a DB URI to env.py for the migration script.
2014-11-18 19:07:33 +00:00
PYTHONPATH
=
. venv/bin/alembic upgrade head
Reference in a new issue
Copy permalink