修复模型定义

This commit is contained in:
2025-12-26 19:29:29 +08:00
parent d8a229fccd
commit c17511d2e8
9 changed files with 55 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ engine: AsyncEngine = create_async_engine(
echo=appmeta.debug,
connect_args={
"check_same_thread": False
} if ASYNC_DATABASE_URL.startswith("sqlite") else None,
} if ASYNC_DATABASE_URL.startswith("sqlite") else {},
future=True,
# pool_size=POOL_SIZE,
# max_overflow=64,