internal/store/migrations/0046_build_log_closed.up.sql

f8b976a97290a20d552056a999511f5d27d8e8ec
gitbay/internal/store/migrations/0046_build_log_closed.up.sql history · blame · raw

5 lines · 349 bytes

1-- When a build's log stream from the runner ended. A runner reports a
2-- build's outcome right after closing the stream; a stream that closed
3-- with no outcome following means the runner is gone, and the build can
4-- be failed within minutes instead of at the deadline (#179).
5ALTER TABLE builds ADD COLUMN log_closed_at TEXT NOT NULL DEFAULT '';