diff --git a/script/uwsgi_server b/script/uwsgi_server index e9633892..275b3b93 100755 --- a/script/uwsgi_server +++ b/script/uwsgi_server @@ -4,5 +4,8 @@ source "$(dirname "${0}")"/../script/include/global_header.inc.sh +# Before starting the server, apply any pending migrations to the DB +migrate_db + # Launch UWSGI run_command "uwsgi --ini ${UWSGI_CONFIG_FULLPATH}"