Skip to content

fix(database): repair legacy profile labels - #109

Merged
SingLinkNetwork merged 1 commit into
fix/backup-restore-file-lockfrom
fix/legacy-profile-label-migration
Aug 10, 2026
Merged

fix(database): repair legacy profile labels#109
SingLinkNetwork merged 1 commit into
fix/backup-restore-file-lockfrom
fix/legacy-profile-label-migration

Conversation

@SingLinkNetwork

@SingLinkNetwork SingLinkNetwork commented Aug 10, 2026

Copy link
Copy Markdown
Owner

關聯\n- Fixes #108\n- 上游參考:chen08209/FlClash#2107\n\n## 問題\n舊資料庫可能含有 profiles.label 為 NULL 的資料。程式讀取時會強制取值,導致第一次啟動直接崩潰,使用者只能刪除整個資料目錄。\n\n## 修復\n- 資料庫版本升至 3。\n- 升級時僅把缺失的訂閱名稱補成空字串,其他資料保留。\n- 新增真實舊版 SQLite 資料庫回歸測試。\n\n## 本機驗證\n- flutter test:554 項通過。\n- flutter analyze:通過。\n\n跨平台完整 CI 尚在等待執行結果。

@SingLinkNetwork
SingLinkNetwork marked this pull request as ready for review August 10, 2026 11:34
@SingLinkNetwork
SingLinkNetwork merged commit 0f0109a into fix/backup-restore-file-lock Aug 10, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant