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
!!
This commit is contained in:
MallocNull 2014-11-09 01:18:32 -06:00
parent 82b740bfc6
commit 0755e827b9
2 changed files with 2 additions and 1 deletions

1
sql/autonomous_fix.sql Normal file
View file

@ -0,0 +1 @@
ALTER TABLE `autonomous` CHANGE `starttime` `starttime` VARCHAR( 6 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '-1,-1'

View file

@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS `admin` (
CREATE TABLE IF NOT EXISTS `autonomous` ( CREATE TABLE IF NOT EXISTS `autonomous` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`startday` int(11) NOT NULL DEFAULT '-1', `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', `periodicity` bigint(20) NOT NULL DEFAULT '1440',
`randomness` bigint(20) NOT NULL DEFAULT '0', `randomness` bigint(20) NOT NULL DEFAULT '0',
`respid` int(11) NOT NULL, `respid` int(11) NOT NULL,