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:
Michael Hogg 2015-11-07 12:57:58 -08:00
parent 77b9aa7c36
commit 9963e9dfe7

View file

@ -82,7 +82,7 @@ CREATE TABLE IF NOT EXISTS `cockatrice_users` (
`avatar_bmp` blob NOT NULL,
`registrationDate` datetime NOT NULL,
`active` tinyint(1) NOT NULL,
`token` binary(16) NOT NULL,
`token` binary(16),
`clientid` varchar(15) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),