Add support for package update notifications

Introduce a new notification option to receive notifications when a new
commit is pushed to a package repository.

Implements FS#30109.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-11-10 20:18:13 +01:00
parent aa5e58db81
commit 64072461df
8 changed files with 68 additions and 12 deletions

View file

@ -52,5 +52,6 @@ ALTER TABLE CommentNotify RENAME TO PackageNotifications;
----
ALTER TABLE Users
ADD COLUMN CommentNotify TINYINT(1) NOT NULL DEFAULT 1;
ADD COLUMN CommentNotify TINYINT(1) NOT NULL DEFAULT 1,
ADD COLUMN UpdateNotify TINYINT(1) NOT NULL DEFAULT 0;
----