Sort rankings by time of last EXP gain (#352)

* Sort rankings by time of last EXP gain

* Fix prepared values order
This commit is contained in:
MedicOP
2019-01-21 21:02:32 +01:00
committed by Ronan Lana
parent 3a0ea6fc77
commit 224f5c677b
4 changed files with 13 additions and 5 deletions

View File

@@ -180,6 +180,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
`PQPoints` int(11) NOT NULL DEFAULT '0',
`dataString` varchar(64) NOT NULL DEFAULT '',
`lastLogoutTime` timestamp NOT NULL DEFAULT '2015-01-01 05:00:00',
`lastExpGainTime` timestamp NOT NULL DEFAULT '2015-01-01 05:00:00',
`pendantExp` tinyint(1) NOT NULL DEFAULT '0',
`jailexpire` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),