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>
This commit is contained in:
Johannes Löthberg 2016-07-20 20:16:25 +02:00 committed by Lukas Fleischer
parent 2160678f9b
commit e55b529813
2 changed files with 7 additions and 1 deletions

View file

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