diff --git a/pandora_console/extras/mr/67.sql b/pandora_console/extras/mr/67.sql index 76a2619e00..565882214a 100644 --- a/pandora_console/extras/mr/67.sql +++ b/pandora_console/extras/mr/67.sql @@ -3,6 +3,9 @@ START TRANSACTION; ALTER TABLE `tncm_queue` ADD COLUMN `id_agent_data` bigint unsigned AFTER `id_script`; +ALTER TABLE `tncm_queue` +ADD COLUMN `snipet` TEXT NULL AFTER `scheduled`; + CREATE TABLE IF NOT EXISTS `tncm_agent_data_template` ( `id` SERIAL, `name` TEXT, diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 334afe02b2..aeb33e9a10 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -4270,6 +4270,7 @@ CREATE TABLE IF NOT EXISTS `tncm_queue` ( `id_agent_data` bigint unsigned, `utimestamp` INT UNSIGNED NOT NULL, `scheduled` INT UNSIGNED DEFAULT NULL, + `snipet` TEXT NULL, FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE, FOREIGN KEY (`id_script`) REFERENCES `tncm_script`(`id`) ON UPDATE CASCADE ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;