diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-07-20 20:16:25 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-07-24 18:51:05 +0200 |
commit | e55b529813feb806fd139ccbf47be87970d95b74 (patch) | |
tree | 64c2f6ac48f51ada7c52f73665bebf33e9978c05 /upgrading | |
parent | 2160678f9bfb4ff5403086e202cc24e8e0d4cf69 (diff) | |
download | aurweb-e55b529813feb806fd139ccbf47be87970d95b74.tar.xz |
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>
Diffstat (limited to 'upgrading')
-rw-r--r-- | upgrading/4.3.0.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/upgrading/4.3.0.txt b/upgrading/4.3.0.txt index 6c1753d..78f9455 100644 --- a/upgrading/4.3.0.txt +++ b/upgrading/4.3.0.txt @@ -21,3 +21,9 @@ ALTER TABLE OfficialProviders ADD COLUMN Repo VARCHAR(64) NOT NULL; ---- 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); +-- |