elections: fix the sqlalchemy.url in the alembic.ini config file
Jinja variable needs to start with {{ and end with }}, both. Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
f338862ac1
commit
2cad7baf13
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ script_location = /opt/app-root/src/alembic
|
|||
{% if env == 'staging' %}
|
||||
sqlalchemy.url = postgresql://{{ elections_db_user }}:{{ elections_db_pass }}@db01.stg.phx2.fedoraproject.org/{{ elections_db_name }}
|
||||
{% else %}
|
||||
sqlalchemy.url = postgresql://{{ elections_db_user }}:{{ elections_db_pass }}@db01.phx2.fedoraproject.org/elections_db_name }}
|
||||
sqlalchemy.url = postgresql://{{ elections_db_user }}:{{ elections_db_pass }}@db01.phx2.fedoraproject.org/{{ elections_db_name }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue