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

fad7a633f45132422f6648c1c7508b4e19b6539c
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 '';