Skip to content

Commit

Permalink
FIX: Set drivername when creating db url
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Dec 16, 2022
1 parent b4e3b16 commit 3aef5bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migas_server/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 3aef5bf

Please sign in to comment.