DB changes (text => mediumtext) ONLY NEW INSTALLATIONS

This commit is contained in:
fbsanchez 2017-08-31 19:14:31 +02:00
parent e08a3dd040
commit 4d1be92150
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ CREATE TABLE IF NOT EXISTS `tagente_datos_inc` (
-- ---------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `tagente_datos_string` (
`id_agente_modulo` int(10) unsigned NOT NULL default '0',
`datos` text NOT NULL,
`datos` mediumtext NOT NULL,
`utimestamp` int(20) unsigned NOT NULL default 0,
KEY `data_string_index_1` (`id_agente_modulo`),
KEY `idx_utimestamp` USING BTREE (`utimestamp`)
@ -146,7 +146,7 @@ CREATE TABLE IF NOT EXISTS `tagente_datos_log4x` (
CREATE TABLE IF NOT EXISTS `tagente_estado` (
`id_agente_estado` int(10) unsigned NOT NULL auto_increment,
`id_agente_modulo` int(10) NOT NULL default '0',
`datos` text NOT NULL,
`datos` mediumtext NOT NULL,
`timestamp` datetime NOT NULL default '1970-01-01 00:00:00',
`estado` int(4) NOT NULL default '0',
`known_status` tinyint(4) default 0,