mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow users to add a link to their homepage to their profile. Implements FS#22774. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
23 lines
545 B
Text
23 lines
545 B
Text
1. Add a column to store ownership notification settings:
|
|
|
|
----
|
|
ALTER TABLE Users ADD COLUMN OwnershipNotify TINYINT(1) NOT NULL DEFAULT 1;
|
|
----
|
|
|
|
2. Resize the LastLoginIPAddress column:
|
|
|
|
----
|
|
ALTER TABLE Users MODIFY LastLoginIPAddress VARCHAR(45) NULL DEFAULT NULL;
|
|
----
|
|
|
|
3. Add a new column to store repository information of official providers:
|
|
|
|
----
|
|
ALTER TABLE OfficialProviders ADD COLUMN Repo VARCHAR(64) NOT NULL;
|
|
----
|
|
|
|
4. Add a column to store users' homepages:
|
|
|
|
----
|
|
ALTER TABLE Users ADD COLUMN Homepage TEXT NULL DEFAULT NULL;
|
|
----
|