From e55b529813feb806fd139ccbf47be87970d95b74 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 20 Jul 2016 20:16:25 +0200 Subject: Make LangPreference DB field wide enough to fit es_419 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Lukas Fleischer --- upgrading/4.3.0.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'upgrading') diff --git a/upgrading/4.3.0.txt b/upgrading/4.3.0.txt index 6c1753de..78f94551 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); +-- -- cgit v1.2.3-24-g4f1b