Update app/db.py
Browse files
app/db.py
CHANGED
@@ -8,7 +8,7 @@ from sqlalchemy.orm import DeclarativeBase
|
|
8 |
from sqlalchemy import URL
|
9 |
|
10 |
db_url = URL.create(
|
11 |
-
"postgresql+asyncpg",
|
12 |
username="avnadmin",
|
13 |
password="AVNS_u12fHxoNLBbzD8TGpqN", # plain (unescaped) text
|
14 |
host="pg-opengenai-opengenai.b.aivencloud.com",
|
|
|
8 |
from sqlalchemy import URL
|
9 |
|
10 |
db_url = URL.create(
|
11 |
+
"postgresql+pg8000", #+asyncpg",
|
12 |
username="avnadmin",
|
13 |
password="AVNS_u12fHxoNLBbzD8TGpqN", # plain (unescaped) text
|
14 |
host="pg-opengenai-opengenai.b.aivencloud.com",
|