lifecycle: fix postgresql port not being passed for migrations

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-16 12:04:36 +02:00
parent ae77c872a0
commit 89fafff0af
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ if __name__ == "__main__":
user=CONFIG.y("postgresql.user"), user=CONFIG.y("postgresql.user"),
password=CONFIG.y("postgresql.password"), password=CONFIG.y("postgresql.password"),
host=CONFIG.y("postgresql.host"), host=CONFIG.y("postgresql.host"),
port=int(CONFIG.y("postgresql.port")),
) )
curr = conn.cursor() curr = conn.cursor()
# lock an advisory lock to prevent multiple instances from migrating at once # lock an advisory lock to prevent multiple instances from migrating at once