🔧 Reuse database url from config in alembic setup (#1229)

This commit is contained in:
Patrick Arminio
2024-07-30 19:46:41 +02:00
committed by GitHub
parent b15d482605
commit b5b2929104
2 changed files with 3 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ class Settings(BaseSettings):
POSTGRES_SERVER: str
POSTGRES_PORT: int = 5432
POSTGRES_USER: str
POSTGRES_PASSWORD: str
POSTGRES_PASSWORD: str = ""
POSTGRES_DB: str = ""
@computed_field # type: ignore[misc]