internal/store/migrations/0065_build_failure.up.sql

0c7b382159eb8ab7f8c6840626d0fce3fa15eb13
gitbay/internal/store/migrations/0065_build_failure.up.sql

4 lines · 279 bytes

1-- Where a failed build stopped: the 1-based step, 0 when it stopped
2-- before any step or did not fail, and the runner's one-line reason.
3ALTER TABLE builds ADD COLUMN failed_step INTEGER NOT NULL DEFAULT 0;
4ALTER TABLE builds ADD COLUMN failed_reason TEXT NOT NULL DEFAULT '';