summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-06-22 23:24:24 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-06-25 13:55:34 +0200
commita2a888625eb3c3dc353e2ef55e6fcbe054ab582f (patch)
tree0779e9d452aa0f890f9c2a67a52d656f78baa282 /schema
parente3670ef1888a3f030452b229e8d48b83bb83b240 (diff)
downloadaur-a2a888625eb3c3dc353e2ef55e6fcbe054ab582f.tar.gz
aur-a2a888625eb3c3dc353e2ef55e6fcbe054ab582f.tar.xz
Add missing database and account fields
Commits 6ec4a35 (Send notifications when changing ownership, 2016-02-21) and e3670ef (Add a homepage field to accounts, 2016-06-02) forgot to change some usages of display_account_form() and process_account_form() to account for the new parameter. The former also forgot to add the new column to the database schema. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'schema')
-rw-r--r--schema/aur-schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql
index 7edf94c6..1affc25e 100644
--- a/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
@@ -41,6 +41,7 @@ CREATE TABLE Users (
RegistrationTS TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
CommentNotify TINYINT(1) NOT NULL DEFAULT 1,
UpdateNotify TINYINT(1) NOT NULL DEFAULT 0,
+ OwnershipNotify TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (ID),
UNIQUE (Username),
UNIQUE (Email),