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

1bbdc4b3b9a1498a966f8c294c602dd05d3e0a85
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;