mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add global comment notification setting
Add a configuration option to the account edit page that allows for globally enabling/disabling package base comment notifications. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
3412de21d3
commit
aa5e58db81
7 changed files with 46 additions and 11 deletions
|
@ -47,3 +47,10 @@ ALTER TABLE PackageBases MODIFY COLUMN FlaggerComment TEXT NOT NULL DEFAULT '';
|
|||
----
|
||||
ALTER TABLE CommentNotify RENAME TO PackageNotifications;
|
||||
----
|
||||
|
||||
8. Add new columns to store notification settings:
|
||||
|
||||
----
|
||||
ALTER TABLE Users
|
||||
ADD COLUMN CommentNotify TINYINT(1) NOT NULL DEFAULT 1;
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue