contentdb/utils/run_migrations.sh

6 lines
153 B
Bash
Raw Normal View History

2020-01-19 00:20:34 +01:00
#!/bin/bash
# Run all pending migrations
2020-01-19 03:46:07 +01:00
docker exec -it contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade"