mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
working on the accounts stuff
This commit is contained in:
parent
84e15d0463
commit
38eda65735
11 changed files with 809 additions and 16 deletions
|
@ -22,6 +22,7 @@ CREATE TABLE Users (
|
|||
ID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
AccountTypeID TINYINT UNSIGNED NOT NULL DEFAULT 1,
|
||||
Suspended TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
Username CHAR(32) NOT NULL,
|
||||
Email CHAR(64) NOT NULL,
|
||||
Passwd CHAR(32) NOT NULL,
|
||||
RealName CHAR(64) NOT NULL DEFAULT '',
|
||||
|
@ -30,6 +31,7 @@ CREATE TABLE Users (
|
|||
LastVoted BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
NewPkgNotify TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (ID),
|
||||
UNIQUE (Username),
|
||||
UNIQUE (Email),
|
||||
INDEX (AccountTypeID),
|
||||
INDEX (NewPkgNotify),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue