diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-11-29 06:28:15 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-11-29 06:28:15 -0500 |
commit | c3ebc4d7fa35b280c353192b23d7b6338f60a9a9 (patch) | |
tree | 5bef7c454a6394bf667d9af0c62afb4fdd99912c /support | |
parent | 2f0a1911be2d8a6c5106faddd6a3bf30c064c8c7 (diff) | |
download | aurweb-c3ebc4d7fa35b280c353192b23d7b6338f60a9a9.tar.xz |
aur-schema.sql: Expand LangPreference field to allow for longer lang codes.
To upgrade existing databases:
ALTER TABLE Users MODIFY LangPreference CHAR(5) NOT NULL DEFAULT 'en';
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/schema/aur-schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql index 39da1bd..67e20a7 100644 --- a/support/schema/aur-schema.sql +++ b/support/schema/aur-schema.sql @@ -28,7 +28,7 @@ CREATE TABLE Users ( Passwd CHAR(32) NOT NULL, ResetKey CHAR(32) NOT NULL DEFAULT '', RealName CHAR(64) NOT NULL DEFAULT '', - LangPreference CHAR(2) NOT NULL DEFAULT 'en', + LangPreference CHAR(5) NOT NULL DEFAULT 'en', IRCNick CHAR(32) NOT NULL DEFAULT '', LastVoted BIGINT UNSIGNED NOT NULL DEFAULT 0, NewPkgNotify TINYINT UNSIGNED NOT NULL DEFAULT 0, |