From 4d46470e962e180014a4a6c59f171b92fb42e731 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Thu, 1 Jun 2017 14:24:24 +0200 Subject: [PATCH] Added target_ip to policy_modules table --- pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql | 1 + pandora_console/pandoradb.sql | 1 + 2 files changed, 2 insertions(+) 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 4d43a93984..9ed693a746 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 @@ -1265,6 +1265,7 @@ ALTER TABLE tlocal_component ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned -- --------------------------------------------------------------------- -- Table `tpolicy_module` -- --------------------------------------------------------------------- +ALTER TABLE tpolicy_modules ADD COLUMN `ip_target`varchar(100) default ''; ALTER TABLE tpolicy_modules ADD COLUMN `dynamic_next` bigint(20) NOT NULL default '0'; ALTER TABLE tpolicy_modules ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned default '0'; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 945720cfe5..bff08abf73 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2056,6 +2056,7 @@ CREATE TABLE IF NOT EXISTS `tpolicy_modules` ( `max` bigint(20) default '0', `min` bigint(20) default '0', `module_interval` int(4) unsigned default '0', + `ip_target` varchar(100) default '', `tcp_port` int(4) unsigned default '0', `tcp_send` text default '', `tcp_rcv` text default '',