From 2ffc035df07fa99b3817852a6349fea99a6faa62 Mon Sep 17 00:00:00 2001 From: naaive <73341653+naaive@users.noreply.github.com> Date: Mon, 21 Apr 2025 16:29:49 +0800 Subject: [PATCH] Update env.py --- src/migrations/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations/env.py b/src/migrations/env.py index c4302ae..f92ad78 100644 --- a/src/migrations/env.py +++ b/src/migrations/env.py @@ -16,7 +16,7 @@ config.set_main_option( "sqlalchemy.url", - f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@{settings.POSTGRES_SERVER}/{settings.POSTGRES_DB}", + f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@{settings.POSTGRES_SERVER}:{settings.POSTGRES_PORT}/{settings.POSTGRES_DB}", ) # Interpret the config file for Python logging.