This commit is contained in:
Ian Gulliver
2026-10-18 21:24:41 -07:00
parent 7728484e86
commit 57788cc711
59 changed files with 465 additions and 512 deletions
@@ -0,0 +1,3 @@
UPDATE users SET focus = json_set(focus,
'$.tab', CASE json_extract(focus, '$.tab') WHEN 'todo' THEN 'project' ELSE json_extract(focus, '$.tab') END,
'$.tabs', json((SELECT json_group_array(CASE value WHEN 'todo' THEN 'project' ELSE value END) FROM json_each(users.focus, '$.tabs'))));