Fix the datanommer DB URL in alembic
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
105cad26dc
commit
e62e7b0b80
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# path to migration scripts
|
||||
script_location = /opt/app-root/src/datanommer.models/alembic
|
||||
# database url
|
||||
sqlalchemy.url = postgresql://{{ datanommerDBUser }}:{{ (env == 'production')|ternary(datanommerDBPassword, datanommer_stg_db_password) }}@db-datanommer01{{ env_suffix }}.iad2.fedoraproject.org/datanommer2
|
||||
sqlalchemy.url = postgresql://{{ datanommerDBUser }}:{{ (env == 'production')|ternary(datanommerDBPassword, datanommer_stg_db_password) }}@db-datanommer{{ (env == 'production')|ternary('02', '01') }}{{ env_suffix }}.iad2.fedoraproject.org/datanommer2
|
||||
|
||||
# Logging configuration
|
||||
[loggers]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue