diff --git a/roles/bodhi2/base/templates/alembic.ini b/roles/bodhi2/base/templates/alembic.ini index b514ae7352..4554f05289 100644 --- a/roles/bodhi2/base/templates/alembic.ini +++ b/roles/bodhi2/base/templates/alembic.ini @@ -2,7 +2,11 @@ [alembic] # path to migration scripts +{% if env == 'staging' %} +script_location = bodhi:server/migrations +{% else %} script_location = /usr/share/bodhi/alembic +{% endif %} # template used to generate migration files # file_template = %%(rev)s_%%(slug)s