Configure alembic.ini for the new migrations location.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-11-07 21:14:31 +00:00
parent 134b51c31a
commit 177bb8c15e

View file

@ -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