Move the uncompressed image size migration call outside of alembic, since it will sometimes deadlock with certain kinds of DBs (because alembic is running things inside a transaction)
This commit is contained in:
parent
6adf4644b4
commit
29c30b336e
3 changed files with 28 additions and 18 deletions
|
@ -3,3 +3,6 @@ set -e
|
|||
|
||||
# Run the database migration
|
||||
PYTHONPATH=. venv/bin/alembic upgrade head
|
||||
|
||||
# Run the uncompressed size migration
|
||||
PYTHONPATH=. venv/bin/python -m util.uncompressedsize
|
Reference in a new issue