summaryrefslogtreecommitdiffstats
path: root/support/schema
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-11-29 12:28:15 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-11-29 12:28:15 +0100
commitc3ebc4d7fa35b280c353192b23d7b6338f60a9a9 (patch)
tree5bef7c454a6394bf667d9af0c62afb4fdd99912c /support/schema
parent2f0a1911be2d8a6c5106faddd6a3bf30c064c8c7 (diff)
downloadaur-c3ebc4d7fa35b280c353192b23d7b6338f60a9a9.tar.gz
aur-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/schema')
-rw-r--r--support/schema/aur-schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index 39da1bd3..67e20a7c 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,