auto-sync: 2026-05-18 00:35:53

This commit is contained in:
cfdaily
2026-05-18 00:35:53 +08:00
parent 4202e150cd
commit 87c402f374
+4 -1
View File
@@ -26,7 +26,10 @@ def _bb(project_id: str) -> Blackboard:
def _card_ops(project_id: str) -> CardOps:
return CardOps(_db_path(project_id))
from src.blackboard.db import init_db
db = _db_path(project_id)
init_db(db) # 确保 DB 已迁移
return CardOps(db)
def _q(project_id: str) -> Queries: