Having token set to not null breaks the use of requireemail=false in the servatrice.ini as token will be null in this use case.
This commit is contained in:
parent
77b9aa7c36
commit
9963e9dfe7
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ 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` binary(16) NOT NULL,
|
`token` binary(16),
|
||||||
`clientid` varchar(15) NOT NULL,
|
`clientid` varchar(15) NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `name` (`name`),
|
UNIQUE KEY `name` (`name`),
|
||||||
|
|
Loading…
Reference in a new issue