From b9021afd96bd581bc52af83d61b4561eedc34e6c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 1 Apr 2017 16:31:52 -0500 Subject: [PATCH] Upgrade tempmon database when updating production demo --- fabfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fabfile.py b/fabfile.py index a24448e..629ed12 100644 --- a/fabfile.py +++ b/fabfile.py @@ -54,6 +54,8 @@ def update_production(all='false'): sudo('pip install --editable .') with cd('/srv/envs/demo'): sudo('bin/alembic --config=app/rattail.conf upgrade heads', user='rattail') + with cd('/srv/envs/demo'): + sudo('bin/alembic --config=app/tempmon.conf upgrade heads', user='rattail') sudo('service apache2 restart') run('curl --output demo.html https://rattailproject.org/demo/') run('rm demo.html')