changed users table in servatrice.sql
This commit is contained in:
parent
9f13254d01
commit
49d2fdc93d
1 changed files with 4 additions and 2 deletions
|
@ -115,9 +115,11 @@ CREATE TABLE IF NOT EXISTS `cockatrice_users` (
|
||||||
`avatar_bmp` blob NOT NULL,
|
`avatar_bmp` blob NOT NULL,
|
||||||
`registrationDate` datetime NOT NULL,
|
`registrationDate` datetime NOT NULL,
|
||||||
`active` tinyint(1) NOT NULL,
|
`active` tinyint(1) NOT NULL,
|
||||||
`token` char(32) NOT NULL,
|
`token` binary(16) NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `name` (`name`)
|
UNIQUE KEY `name` (`name`),
|
||||||
|
KEY `token` (`token`),
|
||||||
|
KEY `email` (`email`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `cockatrice_uptime` (
|
CREATE TABLE `cockatrice_uptime` (
|
||||||
|
|
Loading…
Reference in a new issue