From 0755e827b9004896c5c75685b6805248e826acf3 Mon Sep 17 00:00:00 2001 From: MallocNull Date: Sun, 9 Nov 2014 01:18:32 -0600 Subject: [PATCH] sql update i forgot to push you're going to have to run autonomous_fix.sql under the database you have the bot tables in otherwise it'll break everything so don't forget !! --- sql/autonomous_fix.sql | 1 + sql/structure.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sql/autonomous_fix.sql diff --git a/sql/autonomous_fix.sql b/sql/autonomous_fix.sql new file mode 100644 index 0000000..95326e5 --- /dev/null +++ b/sql/autonomous_fix.sql @@ -0,0 +1 @@ +ALTER TABLE `autonomous` CHANGE `starttime` `starttime` VARCHAR( 6 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '-1,-1' \ No newline at end of file diff --git a/sql/structure.sql b/sql/structure.sql index 083e568..6133d9e 100644 --- a/sql/structure.sql +++ b/sql/structure.sql @@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS `admin` ( CREATE TABLE IF NOT EXISTS `autonomous` ( `id` int(11) NOT NULL AUTO_INCREMENT, `startday` int(11) NOT NULL DEFAULT '-1', - `starttime` bigint(20) NOT NULL DEFAULT '-1', + `starttime` varchar(6) NOT NULL DEFAULT '-1,-1', `periodicity` bigint(20) NOT NULL DEFAULT '1440', `randomness` bigint(20) NOT NULL DEFAULT '0', `respid` int(11) NOT NULL,