Use BIGINT for the time

This commit is contained in:
graywolf336 2014-07-14 18:07:13 -05:00
parent f042af4731
commit f3c2772a87

View File

@ -295,7 +295,7 @@ public class JailIO {
+ "`jail` VARCHAR(250) NOT NULL COMMENT 'The jail the prisoner is in.'," + "`jail` VARCHAR(250) NOT NULL COMMENT 'The jail the prisoner is in.',"
+ "`cell` VARCHAR(250) NULL COMMENT 'The cell the prisoner is in.'," + "`cell` VARCHAR(250) NULL COMMENT 'The cell the prisoner is in.',"
+ "`muted` TINYINT NOT NULL COMMENT 'Whether the player is muted or not.'," + "`muted` TINYINT NOT NULL COMMENT 'Whether the player is muted or not.',"
+ "`time` INT NOT NULL COMMENT 'The remaining time the prisoner has.'," + "`time` BIGINT NOT NULL COMMENT 'The remaining time the prisoner has.',"
+ "`offlinePending` TINYINT NOT NULL COMMENT 'Whether the prisoner has something happened to them while they were offline.'," + "`offlinePending` TINYINT NOT NULL COMMENT 'Whether the prisoner has something happened to them while they were offline.',"
+ "`toBeTransferred` TINYINT NOT NULL COMMENT 'Whether the prisoner is to be transferred.'," + "`toBeTransferred` TINYINT NOT NULL COMMENT 'Whether the prisoner is to be transferred.',"
+ "`jailer` VARCHAR(250) NOT NULL COMMENT 'The name of the person who jailed them.'," + "`jailer` VARCHAR(250) NOT NULL COMMENT 'The name of the person who jailed them.',"
@ -317,7 +317,7 @@ public class JailIO {
+ "`username` VARCHAR(16) NOT NULL COMMENT 'The username of the prisoner.'," + "`username` VARCHAR(16) NOT NULL COMMENT 'The username of the prisoner.',"
+ "`jailer` VARCHAR(250) NOT NULL COMMENT 'The name of the person who jailed the prisoner.'," + "`jailer` VARCHAR(250) NOT NULL COMMENT 'The name of the person who jailed the prisoner.',"
+ "`date` VARCHAR(32) NOT NULL COMMENT 'A string of the date.'," + "`date` VARCHAR(32) NOT NULL COMMENT 'A string of the date.',"
+ "`time` INT NOT NULL COMMENT 'The milliseconds they were jailed for.'," + "`time` BIGINT NOT NULL COMMENT 'The milliseconds they were jailed for.',"
+ "`reason` VARCHAR(250) NOT NULL COMMENT 'The reason they were jailed for.'," + "`reason` VARCHAR(250) NOT NULL COMMENT 'The reason they were jailed for.',"
+ "PRIMARY KEY (`recordid`)," + "PRIMARY KEY (`recordid`),"
+ "UNIQUE INDEX `recordid_UNIQUE` (`recordid` ASC))" + "UNIQUE INDEX `recordid_UNIQUE` (`recordid` ASC))"