Merge branch 'ent-7281-Aumentar-carácteres-de-la-caja-de-consulta-SQL-en-Informes' into 'develop'

Ent 7281 aumentar carácteres de la caja de consulta sql en informes

See merge request artica/pandorafms!4014
This commit is contained in:
Daniel Rodriguez 2021-04-12 14:44:33 +00:00
commit a6f2b364f6
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,8 @@
START TRANSACTION; START TRANSACTION;
ALTER TABLE `tagent_custom_fields` MODIFY COLUMN `combo_values` TEXT NOT NULL DEFAULT ''; ALTER TABLE `tagent_custom_fields` MODIFY COLUMN `combo_values` TEXT NOT NULL DEFAULT '';
ALTER TABLE `treport_content` MODIFY `external_source` MEDIUMTEXT;
ALTER TABLE `treport_content_template` MODIFY `external_source` MEDIUMTEXT;
UPDATE `talert_commands` SET `fields_descriptions` = '[\"Event name\",\"Event type\",\"Source\",\"Agent name or _agent_\",\"Event severity\",\"ID extra\",\"Tags separated by commas\",\"Comments\",\"\",\"\"]' WHERE `name` = "Monitoring Event"; UPDATE `talert_commands` SET `fields_descriptions` = '[\"Event name\",\"Event type\",\"Source\",\"Agent name or _agent_\",\"Event severity\",\"ID extra\",\"Tags separated by commas\",\"Comments\",\"\",\"\"]' WHERE `name` = "Monitoring Event";

View File

@ -811,7 +811,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_template` (
`description` mediumtext, `description` mediumtext,
`text_agent` text, `text_agent` text,
`text` TEXT, `text` TEXT,
`external_source` Text, `external_source` mediumtext,
`treport_custom_sql_id` INTEGER UNSIGNED default 0, `treport_custom_sql_id` INTEGER UNSIGNED default 0,
`header_definition` TinyText default NULL, `header_definition` TinyText default NULL,
`column_separator` TinyText default NULL, `column_separator` TinyText default NULL,
@ -1741,6 +1741,7 @@ ALTER TABLE `treport_content` ADD COLUMN `landscape` tinyint(1) UNSIGNED NOT NUL
ALTER TABLE `treport_content` ADD COLUMN `pagebreak` tinyint(1) UNSIGNED NOT NULL default 0; ALTER TABLE `treport_content` ADD COLUMN `pagebreak` tinyint(1) UNSIGNED NOT NULL default 0;
ALTER TABLE `treport_content` ADD COLUMN `compare_work_time` tinyint(1) UNSIGNED NOT NULL default 0; ALTER TABLE `treport_content` ADD COLUMN `compare_work_time` tinyint(1) UNSIGNED NOT NULL default 0;
ALTER TABLE `treport_content` ADD COLUMN `graph_render` tinyint(1) UNSIGNED NOT NULL default 0; ALTER TABLE `treport_content` ADD COLUMN `graph_render` tinyint(1) UNSIGNED NOT NULL default 0;
ALTER TABLE `treport_content` MODIFY `external_source` MEDIUMTEXT;
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Table `tmodule_relationship` -- Table `tmodule_relationship`

View File

@ -1511,7 +1511,7 @@ CREATE TABLE IF NOT EXISTS `treport_content` (
`description` mediumtext, `description` mediumtext,
`id_agent` int(10) unsigned NOT NULL default 0, `id_agent` int(10) unsigned NOT NULL default 0,
`text` TEXT, `text` TEXT,
`external_source` Text, `external_source` mediumtext,
`treport_custom_sql_id` INTEGER UNSIGNED default 0, `treport_custom_sql_id` INTEGER UNSIGNED default 0,
`header_definition` TinyText, `header_definition` TinyText,
`column_separator` TinyText, `column_separator` TinyText,
@ -3114,7 +3114,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_template` (
`description` mediumtext, `description` mediumtext,
`text_agent` text, `text_agent` text,
`text` TEXT, `text` TEXT,
`external_source` Text, `external_source` mediumtext,
`treport_custom_sql_id` INTEGER UNSIGNED default 0, `treport_custom_sql_id` INTEGER UNSIGNED default 0,
`header_definition` TinyText default NULL, `header_definition` TinyText default NULL,
`column_separator` TinyText default NULL, `column_separator` TinyText default NULL,