mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
The language code for Latin American Spanish is es_419, which is longer than the 5 characters previously allowed. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
29 lines
675 B
Text
29 lines
675 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;
|
|
----
|
|
|
|
5. Resize LangPreference to fit Latin American Spanish language code:
|
|
|
|
--
|
|
ALTER TABLE Users MODIFY LangPreference VARCHAR(6);
|
|
--
|