internal/store/migrations/0048_notify_mail.up.sql

245c368eddd2cb9dead14d34ef0daf3c836588f6
gitbay/internal/store/migrations/0048_notify_mail.up.sql

4 lines · 278 bytes

1-- Whether activity notifications reach the account by mail as well as
2-- the inbox. Off leaves inbox rows untouched and skips the mail half
3-- only; login links and verification mail are not activity (#194).
4ALTER TABLE users ADD COLUMN notify_mail INTEGER NOT NULL DEFAULT 1;