fix(database): repair legacy profile labels - #109
Merged
SingLinkNetwork merged 1 commit intoAug 10, 2026
Merged
Conversation
SingLinkNetwork
marked this pull request as ready for review
August 10, 2026 11:34
SingLinkNetwork
merged commit Aug 10, 2026
0f0109a
into
fix/backup-restore-file-lock
63 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
關聯\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 尚在等待執行結果。