diff --git a/pandora_console/extras/mr/43.SQL b/pandora_console/extras/mr/43.SQL new file mode 100644 index 0000000000..91196d4bc9 --- /dev/null +++ b/pandora_console/extras/mr/43.SQL @@ -0,0 +1,6 @@ +START TRANSACTION; + +ALTER TABLE `tagente_modulo` ADD COLUMN `debug` tinyint(1) UNSIGNED NOT NULL default 0; +ALTER TABLE `tagente_modulo` ADD COLUMN `debug_content` varchar(200); + +COMMIT; \ No newline at end of file diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index e6208f034a..081b94996c 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -1480,6 +1480,8 @@ ALTER TABLE `tagente_modulo` DROP COLUMN `ff_normal`, MODIFY COLUMN `dynamic_next` bigint(20) NOT NULL DEFAULT '0', MODIFY COLUMN `dynamic_two_tailed` tinyint(1) unsigned NULL DEFAULT '0'; ALTER TABLE tagente_modulo MODIFY COLUMN `custom_string_1` MEDIUMTEXT; +ALTER TABLE `tagente_modulo` ADD COLUMN `debug` tinyint(1) UNSIGNED NOT NULL default 0; +ALTER TABLE `tagente_modulo` ADD COLUMN `debug_content` varchar(200); -- --------------------------------------------------------------------- -- Table `tagente_datos` diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index f17bdf0c9e..6b7db6678a 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -266,6 +266,8 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` ( `prediction_threshold` int(4) default 0, `parent_module_id` int(10) unsigned NOT NULL default 0, `cps` int NOT NULL default 0, + `debug` tinyint(1) UNSIGNED NOT NULL default 0, + `debug_content` varchar(200), PRIMARY KEY (`id_agente_modulo`), KEY `main_idx` (`id_agente_modulo`,`id_agente`), KEY `tam_agente` (`id_agente`),