moriire commited on
Commit
f00b651
1 Parent(s): e2f7936

Update app/db.py

Browse files
Files changed (1) hide show
  1. app/db.py +1 -1
app/db.py CHANGED
@@ -29,7 +29,7 @@ class User(SQLAlchemyBaseUserTableUUID, Base):
29
  pass
30
 
31
 
32
- engine = create_async_engine(DATABASE_URL, pool_per_ping=True)
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,