We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45be043 + 5952a08 commit 9fe4303Copy full SHA for 9fe4303
src/migrations/env.py
@@ -14,7 +14,7 @@
14
15
config.set_main_option(
16
"sqlalchemy.url",
17
- f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@localhost/{settings.POSTGRES_DB}",
+ f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@{settings.POSTGRES_SERVER}/{settings.POSTGRES_DB}",
18
)
19
20
# Interpret the config file for Python logging.
0 commit comments