4 lines
316 B
SQL
4 lines
316 B
SQL
UPDATE users SET focus = json_set(focus, '$.project_id', (SELECT project_id FROM tasks WHERE id = json_extract(users.focus, '$.task_id')))
|
|
WHERE json_extract(focus, '$.task_id') IS NOT NULL;
|
|
DELETE FROM lead_inputs WHERE text LIKE 'The human switched the right pane %' OR text = 'The human cleared the right pane.';
|