aurweb/upgrading/4.3.0.txt
Johannes Löthberg e55b529813 Make LangPreference DB field wide enough to fit es_419
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>
2016-07-24 18:51:05 +02:00

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);
--