diff --git a/bundles/pretalx/items.py b/bundles/pretalx/items.py index 0eb2e8f..0a69ace 100644 --- a/bundles/pretalx/items.py +++ b/bundles/pretalx/items.py @@ -31,6 +31,7 @@ actions = { 'command': 'PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild', 'needs': { 'action:pretalx_install', + 'action:pretalx_migrate', 'directory:/opt/pretalx/data', 'directory:/opt/pretalx/static', 'file:/opt/pretalx/pretalx.cfg', @@ -41,6 +42,7 @@ actions = { 'command': 'sudo -u pretalx PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx regenerate_css', 'needs': { 'action:pretalx_install', + 'action:pretalx_migrate', 'directory:/opt/pretalx/data', 'directory:/opt/pretalx/static', 'file:/opt/pretalx/pretalx.cfg',