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

4 lines
323 B
SQL

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;