From 4d1be92150490205bce8804d8b69c8fa6777b4bd Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 31 Aug 2017 19:14:31 +0200 Subject: [PATCH] DB changes (text => mediumtext) ONLY NEW INSTALLATIONS --- pandora_console/pandoradb.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 2166167065..a1c3ebec8d 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -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,