From 9963e9dfe7b6c8f102caf9e99f51cfe6c969d917 Mon Sep 17 00:00:00 2001 From: Michael Hogg Date: Sat, 7 Nov 2015 12:57:58 -0800 Subject: [PATCH] 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. --- servatrice/servatrice.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servatrice/servatrice.sql b/servatrice/servatrice.sql index 38f454e5..b4ff1738 100644 --- a/servatrice/servatrice.sql +++ b/servatrice/servatrice.sql @@ -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`),