mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
f3ec4d1ef5
commit
d5d08b8f92
7 changed files with 46 additions and 15 deletions
|
@ -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;
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue