contentdb/utils/run_migrations.sh

7 lines
165 B
Bash
Raw Normal View History

2020-01-19 16:51:47 +01:00
#!/bin/sh
2020-01-19 00:20:34 +01:00
# Run all pending migrations
./utils/reload.sh
2020-01-19 16:51:47 +01:00
docker exec contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade"