diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f043635bfc..f4db198c35 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-08-03 Sergio Martin + + * pandoradb.sql + extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module + field into agente_modulo table for future use + 2010-08-03 Junichi Satoh * godmode/alerts/alert_list.list.php: Fixed a problem alert filtering diff --git a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql index b98077dbd7..329650d309 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql @@ -61,3 +61,9 @@ CREATE TABLE IF NOT EXISTS `tnetwork_map` ( `contracted_nodes` TEXT, PRIMARY KEY (`id_networkmap`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ----------------------------------------------------- +-- Table `tagente_modulo` +-- ----------------------------------------------------- + +ALTER TABLE `tagente_modulo` ADD COLUMN `id_policy_module` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `nombre`; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index fdc715d898..64743b2d01 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -146,6 +146,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` ( `id_tipo_modulo` smallint(5) NOT NULL default '0', `descripcion` varchar(100) NOT NULL default '', `nombre` varchar(100) NOT NULL default '', + `id_policy_module` INTEGER unsigned NOT NULL default '0', `max` bigint(20) default '0', `min` bigint(20) default '0', `module_interval` int(4) unsigned default '0',