Commit 1dddabb
committed
fix(archiving): compare share node type as string in data migration
tables_shares stores node_type as a string ('table'), so filtering with
the integer NODE_TYPE_TABLE constant never matched the direct user
shares (or, on MySQL loose casting, matched every node type). Recipient
archive records were therefore not migrated correctly.
Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>1 parent 2603a4a commit 1dddabb
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
0 commit comments