Fix Alembic integration in datanommer
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
e05049f94d
commit
e13e96056c
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
[alembic]
|
||||
# path to migration scripts
|
||||
script_location = /opt/app-root/src/datanommer.models/alembic
|
||||
script_location = datanommer.models:alembic
|
||||
# database url
|
||||
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
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ routing_keys = ["#"]
|
|||
|
||||
[consumer_config]
|
||||
datanommer_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'
|
||||
alembic_ini = "/etc/fedora-messaging/alembic.ini"
|
||||
|
||||
[log_config]
|
||||
version = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue