internal/store/migrations/0069_thread_range.up.sql

545ba0bcdea3b534903bd78c918c0c025a97eda7
gitbay/internal/store/migrations/0069_thread_range.up.sql

4 lines · 264 bytes

1-- A review thread may anchor to a range of lines ending at line: a
2-- suggestion replaces start_line through line. 0 means the thread is on
3-- line alone, which every existing row is.
4ALTER TABLE mr_diff_comments ADD COLUMN start_line INTEGER NOT NULL DEFAULT 0;