mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
2f0a1911be
commit
c3ebc4d7fa
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ CREATE TABLE Users (
|
||||||
Passwd CHAR(32) NOT NULL,
|
Passwd CHAR(32) NOT NULL,
|
||||||
ResetKey CHAR(32) NOT NULL DEFAULT '',
|
ResetKey CHAR(32) NOT NULL DEFAULT '',
|
||||||
RealName CHAR(64) 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 '',
|
IRCNick CHAR(32) NOT NULL DEFAULT '',
|
||||||
LastVoted BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
LastVoted BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||||
NewPkgNotify TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
NewPkgNotify TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue