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

f8cd1cbd69d6f434514ecec0d32f175cdaa6a00d
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;