From c09a91b284b6660f20516e6f4cb6e9c322028ed5 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Thu, 19 Jul 2018 08:35:33 +0200 Subject: [PATCH] Added server-name in tautoconfig_rules --- pandora_console/extras/mr/18.sql | 2 +- pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql | 2 +- pandora_console/pandoradb.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/extras/mr/18.sql b/pandora_console/extras/mr/18.sql index 0c86b45170..f0ebaddef2 100644 --- a/pandora_console/extras/mr/18.sql +++ b/pandora_console/extras/mr/18.sql @@ -24,7 +24,7 @@ CREATE TABLE `tautoconfig_rules` ( `id_autoconfig` int(10) unsigned NOT NULL, `order` int(11) NOT NULL DEFAULT '0', `operator` enum('AND','OR') DEFAULT 'OR', - `type` enum('alias','ip-range','group','os','custom-field','script') DEFAULT 'alias', + `type` enum('alias','ip-range','group','os','custom-field','script','server-name') DEFAULT 'alias', `value` text, `custom` text, PRIMARY KEY (`id`), 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 caaa95402d..70118e2407 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 @@ -1687,7 +1687,7 @@ CREATE TABLE IF NOT EXISTS `tautoconfig_rules` ( `id_autoconfig` int(10) unsigned NOT NULL, `order` int(11) NOT NULL DEFAULT '0', `operator` enum('AND','OR') DEFAULT 'OR', - `type` enum('alias','ip-range','group','os','custom-field','script') DEFAULT 'alias', + `type` enum('alias','ip-range','group','os','custom-field','script','server-name') DEFAULT 'alias', `value` text, `custom` text, PRIMARY KEY (`id`), diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index e00ecfc28a..7076c9349b 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -3214,7 +3214,7 @@ CREATE TABLE IF NOT EXISTS `tautoconfig_rules` ( `id_autoconfig` int(10) unsigned NOT NULL, `order` int(11) NOT NULL DEFAULT '0', `operator` enum('AND','OR') DEFAULT 'OR', - `type` enum('alias','ip-range','group','os','custom-field','script') DEFAULT 'alias', + `type` enum('alias','ip-range','group','os','custom-field','script','server-name') DEFAULT 'alias', `value` text, `custom` text, PRIMARY KEY (`id`),