From 89fafff0af2bfddd3c4acebf88758510b8706cfb Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 16 Jul 2021 12:04:36 +0200 Subject: [PATCH] lifecycle: fix postgresql port not being passed for migrations Signed-off-by: Jens Langhammer --- lifecycle/migrate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lifecycle/migrate.py b/lifecycle/migrate.py index 3ce9c71ab..6d22a1df4 100755 --- a/lifecycle/migrate.py +++ b/lifecycle/migrate.py @@ -40,6 +40,7 @@ if __name__ == "__main__": user=CONFIG.y("postgresql.user"), password=CONFIG.y("postgresql.password"), host=CONFIG.y("postgresql.host"), + port=int(CONFIG.y("postgresql.port")), ) curr = conn.cursor() # lock an advisory lock to prevent multiple instances from migrating at once