small improvement for STRICT_TRANS_TABLES mysql 7.1
This commit is contained in:
parent
9e9c09e14a
commit
a35835e1f6
@ -126,8 +126,8 @@ class PlayerManager implements CallbackListener, TimerListener, CommunicationLis
|
|||||||
$playerTableQuery = "CREATE TABLE IF NOT EXISTS `" . self::TABLE_PLAYERS . "` (
|
$playerTableQuery = "CREATE TABLE IF NOT EXISTS `" . self::TABLE_PLAYERS . "` (
|
||||||
`index` int(11) NOT NULL AUTO_INCREMENT,
|
`index` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`login` varchar(100) NOT NULL,
|
`login` varchar(100) NOT NULL,
|
||||||
`nickname` varchar(150) NOT NULL,
|
`nickname` varchar(150) NOT NULL DEFAULT '',
|
||||||
`path` varchar(100) NOT NULL,
|
`path` varchar(100) NOT NULL DEFAULT '',
|
||||||
`authLevel` int(11) NOT NULL DEFAULT '0',
|
`authLevel` int(11) NOT NULL DEFAULT '0',
|
||||||
`changed` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`changed` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`index`),
|
PRIMARY KEY (`index`),
|
||||||
|
Loading…
Reference in New Issue
Block a user