Commit 2f686e8
committed
fix(folders): stop the update path writing dropped columns
performUpdateFolder still copied color and isExpanded into its update
payload after the cutover, so a caller passing either wrote against
columns the generic folder table does not have. The create path had
already dropped them.
Typed the payload as Partial<typeof folder.$inferInsert> instead of
Record<string, unknown> — the loose type is the reason typecheck caught
every other dropped-column reference in this cutover but not this one.1 parent d2272a9 commit 2f686e8
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
203 | 201 | | |
204 | 202 | | |
205 | 203 | | |
206 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
0 commit comments