diff options
author | Marcel Korpel <marcel.korpel@gmail.com> | 2015-09-20 20:12:25 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-20 22:01:23 +0200 |
commit | d5d08b8f926e8882864afbfd7446440acc1005d0 (patch) | |
tree | 345631fb4b165d00a4e09304f2cfa9ebd0b5977f /upgrading | |
parent | f3ec4d1ef553259b0a617b9d11da4ece2ecc9dfd (diff) | |
download | aurweb-d5d08b8f926e8882864afbfd7446440acc1005d0.tar.xz |
Add option to hide one's email address
Implements FS#42343.
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'upgrading')
-rw-r--r-- | upgrading/4.1.0.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/upgrading/4.1.0.txt b/upgrading/4.1.0.txt index 439562f..26f9f65 100644 --- a/upgrading/4.1.0.txt +++ b/upgrading/4.1.0.txt @@ -17,3 +17,10 @@ ALTER TABLE PackageBases ADD COLUMN FlaggerComment VARCHAR(255) NOT NULL, ADD FOREIGN KEY (FlaggerUID) REFERENCES Users(ID) ON DELETE SET NULL; ---- + +3. Add field to store the state of a user's email address: + +---- +ALTER TABLE Users + ADD COLUMN HideEmail TINYINT UNSIGNED NOT NULL DEFAULT 0; +---- |