contentdb/utils/run_migrations.sh
2020-01-19 02:46:07 +00:00

6 lines
153 B
Bash
Executable File

#!/bin/bash
# Run all pending migrations
docker exec -it contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade"