Commit dfd3d72
Fix BackfillUserProfileIdsAsync crash on fresh mobile DB
On fresh installs, the UserProfileId columns may not exist yet
(migrations only run during sync, not at app startup). Added a
column existence check before attempting the backfill SQL to
prevent SQLite Error 1: 'no such column: UserProfileId'.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a2dbbae commit dfd3d72
File tree
1 file changed
+7
-0
lines changed1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments