internal/store/migrations/0053_notify_watch.up.sql

fc755889baf27e51072434797bb4de2076d3f7eb
gitbay/internal/store/migrations/0053_notify_watch.up.sql

5 lines · 339 bytes

1-- Whether the account hears about every issue and merge request on the
2-- repositories it can write to, as if it had run repo watch on each.
3-- Consulted when a notice is delivered, not written on grant; an explicit
4-- watch or mute row on the repository wins (#194).
5ALTER TABLE users ADD COLUMN notify_watch INTEGER NOT NULL DEFAULT 0;