contentdb/utils/run_migrations.sh

7 lines
165 B
Bash
Executable File

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