From 6ee8335b7ca8b10ca0c4287cb2182b22138b2660 Mon Sep 17 00:00:00 2001
From: slerena <slerena@gmail.com>
Date: Mon, 28 Dec 2009 15:52:17 +0000
Subject: [PATCH] 2009-12-28  Sancho Lerena <slerena@artica.es>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

        * pandoradb.sql: tnetwork_component double(18,13) -> double
        (18,3) by a typo !¡¿?. That is the type for tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog     | 3 +++
 pandora_console/pandoradb.sql | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 5c61ba7d67..60a98603b2 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,5 +1,8 @@
 2009-12-28  Sancho Lerena <slerena@artica.es>
 
+	* pandoradb.sql: tnetwork_component double(18,13) -> double (18,3) by
+	a typo !¡¿?. That is the type for tagente_modulo.
+
 	* includes/languages/* : Updated languages for 3.0 final release.
 
 	* include/config_process: Fixed problems detected in system/user 
diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql
index e6f354ac4b..ba82f9da88 100644
--- a/pandora_console/pandoradb.sql
+++ b/pandora_console/pandoradb.sql
@@ -488,10 +488,10 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
   `plugin_parameter` text,
   `max_timeout` tinyint(3) unsigned default '0',
   `history_data` tinyint(1) unsigned default '1',
-  `min_warning` double(18,13) default 0,
-  `max_warning` double(18,13) default 0,
-  `min_critical` double(18,13) default 0,
-  `max_critical` double(18,13) default 0,
+  `min_warning` double(18,2) default 0,
+  `max_warning` double(18,2) default 0,
+  `min_critical` double(18,2) default 0,
+  `max_critical` double(18,2) default 0,
   `min_ff_event` int(4) unsigned default '0',
   PRIMARY KEY  (`id_nc`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;