auto-sync: 2026-05-17 21:47:28
This commit is contained in:
@@ -14,6 +14,8 @@ def init_db(db_path: Path) -> None:
|
||||
try:
|
||||
for stmt in _SCHEMA_STATEMENTS:
|
||||
conn.execute(stmt)
|
||||
# v2.6.1 迁移:旧 DB 可能缺少新字段
|
||||
_migrate_v261(conn)
|
||||
conn.commit()
|
||||
finally:
|
||||
conn.close()
|
||||
|
||||
Reference in New Issue
Block a user