diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-01-18 23:20:34 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-01-18 23:20:34 +0000 |
commit | 64e1805b5387ca3ab7cad55b85b8ae54be076d35 (patch) | |
tree | 51e0829622c660346e5b2d515555a92acd10277e /utils/run_migrations.sh | |
parent | 22d02edbd858649e1c890621d72867d913f8dc57 (diff) | |
download | cheatdb-64e1805b5387ca3ab7cad55b85b8ae54be076d35.tar.xz |
Add more util scripts
Diffstat (limited to 'utils/run_migrations.sh')
-rwxr-xr-x | utils/run_migrations.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/run_migrations.sh b/utils/run_migrations.sh new file mode 100755 index 0000000..ac96a95 --- /dev/null +++ b/utils/run_migrations.sh @@ -0,0 +1,5 @@ +#!/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 update" |