From 2758d024d7bdababe92cfbcbe956b1929ee63421 Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 25 Mar 2009 18:17:02 +0000 Subject: [PATCH] 2009-03-25 Sancho Lerena * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added field missing in ttrap (This gives the problems with SNMP Alerts in trunk version (Manu!)). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/extras/pandoradb_migrate_v2.x_to_v3.0.sql | 2 ++ 2 files changed, 8 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ae6e4aa622..09c59854aa 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-03-25 Sancho Lerena + + * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added field missing in + ttrap (This gives the problems with SNMP Alerts in trunk version (Manu!)). + + 2009-03-25 Esteban Sanchez * include/functions_alerts.php: Typo errors on "proces". Fixed an diff --git a/pandora_console/extras/pandoradb_migrate_v2.x_to_v3.0.sql b/pandora_console/extras/pandoradb_migrate_v2.x_to_v3.0.sql index e27bfc0210..9230f6ac8d 100644 --- a/pandora_console/extras/pandoradb_migrate_v2.x_to_v3.0.sql +++ b/pandora_console/extras/pandoradb_migrate_v2.x_to_v3.0.sql @@ -1,3 +1,5 @@ +ALTER TABLE ttrap add `priority` tinyint(4) unsigned NOT NULL default '2'; + INSERT INTO `tconfig` VALUES (24, 'loginhash_pwd', ''); INSERT INTO `tconfig` VALUES (25, 'trap2agent', 0); INSERT INTO `tconfig` VALUES (26, 'prominent_time', 0);