Configure alembic.ini for the new migrations location.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
134b51c31a
commit
177bb8c15e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue