Commit c3ebc4d7 authored by Loui Chang's avatar Loui Chang
Browse files

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: default avatarLoui Chang <louipc.ist@gmail.com>
parent 2f0a1911
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment