contentdb/utils/downgrade_migration.sh

6 lines
181 B
Bash
Raw Permalink Normal View History

2020-12-09 20:33:31 +01:00
#!/bin/sh
# Create a database migration, and copy it back to the host.
docker exec contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db downgrade"