Files
byre/internal/store/migrations/112-add-task-input-kind.sql
T

3 lines
323 B
SQL
Raw Normal View History

2026-10-23 16:21:56 -07:00
ALTER TABLE task_inputs ADD COLUMN kind TEXT NOT NULL DEFAULT '';
UPDATE task_inputs SET kind = 'findings' WHERE actor = 'byre' AND substr(text, 1, 24) = 'The review of snapshot #';
UPDATE task_inputs SET kind = 'merge_in' WHERE actor = 'byre' AND instr(text, ' into this branch: run `git merge --no-ff --no-commit ') > 0;