Change default birthday and tempban to fix conversion issue

ResultSet#getLong on a timestamp field is not allowed
This commit is contained in:
P0nk
2021-04-02 16:11:41 +02:00
parent 7169a74e94
commit 754ab67de7
5 changed files with 46 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS `accounts` (
`loggedin` tinyint(4) NOT NULL DEFAULT '0',
`lastlogin` timestamp NULL DEFAULT NULL,
`createdat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`birthday` date NOT NULL DEFAULT '0000-00-00',
`birthday` date NOT NULL DEFAULT '2005-05-11',
`banned` tinyint(1) NOT NULL DEFAULT '0',
`banreason` text,
`macs` tinytext,
@@ -30,7 +30,7 @@ CREATE TABLE IF NOT EXISTS `accounts` (
`nxPrepaid` int(11) DEFAULT NULL,
`characterslots` tinyint(2) NOT NULL DEFAULT '3',
`gender` tinyint(2) NOT NULL DEFAULT '10',
`tempban` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`tempban` timestamp NOT NULL DEFAULT '2005-05-11 00:00:00',
`greason` tinyint(4) NOT NULL DEFAULT '0',
`tos` tinyint(1) NOT NULL DEFAULT '0',
`sitelogged` text,