适配微信4.0.3正式版,修复合并数据库的一些问题

This commit is contained in:
SiYuan
2025-04-02 12:35:17 +08:00
parent f09a00d4ec
commit 5689de2ca6
26 changed files with 355 additions and 108 deletions

View File

@@ -264,9 +264,9 @@ class HardLinkDB(DataBaseBase):
return
try:
# 获取列名
increase_data(db_path, self.cursor, self.DB, 'file_hardlink_info_v3', 'md5')
increase_data(db_path, self.cursor, self.DB, 'image_hardlink_info_v3', 'md5')
increase_data(db_path, self.cursor, self.DB, 'video_hardlink_info_v3', 'md5')
increase_data(db_path, self.cursor, self.DB, 'file_hardlink_info_v3', 'md5', exclude_column='_rowid_')
increase_data(db_path, self.cursor, self.DB, 'image_hardlink_info_v3', 'md5', exclude_column='_rowid_')
increase_data(db_path, self.cursor, self.DB, 'video_hardlink_info_v3', 'md5', exclude_column='_rowid_')
increase_data(db_path, self.cursor, self.DB, 'dir2id', 'username')
except:
print(f"数据库操作错误: {traceback.format_exc()}")