From 3aef5bf1886f5349e5f402e9e1bf5a43b8302865 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Thu, 15 Dec 2022 19:47:03 -0500 Subject: [PATCH] FIX: Set drivername when creating db url --- migas_server/connections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/migas_server/connections.py b/migas_server/connections.py index c9e4d12..f04dfa5 100644 --- a/migas_server/connections.py +++ b/migas_server/connections.py @@ -68,6 +68,7 @@ async def get_db_engine() -> AsyncEngine: from sqlalchemy.engine import URL db_url = URL.create( + drivername="postgresql+asyncpg", username=os.getenv("DATABASE_USER"), password=os.getenv("DATABASE_PASSWORD"), database=os.getenv("DATABASE_NAME"),