[IMPROVED] Allow for longer monitoring value strings

This commit is contained in:
Sebastian Grewe 2013-11-04 13:45:30 +01:00
parent d2d7ee6796
commit 32b867d9f3
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ CREATE TABLE IF NOT EXISTS `monitoring` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`type` varchar(15) NOT NULL,
`value` varchar(25) NOT NULL,
`value` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Monitoring events from cronjobs';

View File

@ -0,0 +1 @@
ALTER TABLE `monitoring` CHANGE `value` `value` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ;