From f3c2772a870e5f6b405d4b98f9f4196b815ac6bb Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Mon, 14 Jul 2014 18:07:13 -0500 Subject: [PATCH] Use BIGINT for the time --- src/main/java/com/graywolf336/jail/JailIO.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/graywolf336/jail/JailIO.java b/src/main/java/com/graywolf336/jail/JailIO.java index 924512e..b5d183d 100644 --- a/src/main/java/com/graywolf336/jail/JailIO.java +++ b/src/main/java/com/graywolf336/jail/JailIO.java @@ -295,7 +295,7 @@ public class JailIO { + "`jail` VARCHAR(250) NOT NULL COMMENT 'The jail 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.'," - + "`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.'," + "`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.'," @@ -317,7 +317,7 @@ public class JailIO { + "`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.'," + "`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.'," + "PRIMARY KEY (`recordid`)," + "UNIQUE INDEX `recordid_UNIQUE` (`recordid` ASC))"