From a80b95535eb67a9f9a8d2544b0b082494f77b24f Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 3 Aug 2010 11:23:16 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql | 6 ++++++ pandora_console/pandoradb.sql | 1 + 3 files changed, 13 insertions(+) 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',