Update app/db.py
Browse files
app/db.py
CHANGED
@@ -29,7 +29,7 @@ class User(SQLAlchemyBaseUserTableUUID, Base):
|
|
29 |
pass
|
30 |
|
31 |
|
32 |
-
engine = create_async_engine(DATABASE_URL,
|
33 |
async_session_maker = async_sessionmaker(engine,
|
34 |
#class_=AsyncSession,
|
35 |
autoflush=True,
|
|
|
29 |
pass
|
30 |
|
31 |
|
32 |
+
engine = create_async_engine(DATABASE_URL, echo=True)
|
33 |
async_session_maker = async_sessionmaker(engine,
|
34 |
#class_=AsyncSession,
|
35 |
autoflush=True,
|