From e8cce6dc1b961858350d71df0344680276305e5a Mon Sep 17 00:00:00 2001
From: ramonn <noreply@pandorafms.org>
Date: Thu, 3 Apr 2014 10:49:45 +0000
Subject: [PATCH] 2014-04-03  Ramon Novoa  <rnovoa@artica.es>

	* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Updated the migration
	  scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                                  | 7 +++++++
 .../extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql        | 6 ++++++
 .../extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql       | 6 ++++++
 .../extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql   | 6 ++++++
 4 files changed, 25 insertions(+)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index c93c9ae7fc..f7bc4ad942 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,10 @@
+2014-04-03  Ramon Novoa  <rnovoa@artica.es>
+
+	* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
+	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
+	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Updated the migration
+	  scripts.
+
 2014-04-03  Ramon Novoa  <rnovoa@artica.es>
 
 	* images/networkmap/so_router.png,
diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
index 754f2382dd..dd2452ff79 100644
--- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
+++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
@@ -37,6 +37,12 @@ UPDATE tconfig SET `value`='#FF6600' WHERE `token`='graph_color3';
 -- ---------------------------------------------------------------------
 ALTER TABLE tgraph_source MODIFY COLUMN `weight` float(8,3) NOT NULL DEFAULT 0;
 
+-- ---------------------------------------------------------------------
+-- Table `tconfig_os`
+-- ---------------------------------------------------------------------
+INSERT INTO `tconfig_os` VALUES (17, 'Router', 'Generic router', 'so_router.png');
+INSERT INTO `tconfig_os` VALUES (18, 'Switch', 'Generic switch', 'so_switch.png');
+
 -- ---------------------------------------------------------------------
 -- Table `tagente_modulo`
 -- ---------------------------------------------------------------------
diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
index ae9685b663..f379a69eed 100644
--- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
+++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
@@ -31,6 +31,12 @@ INSERT INTO tconfig (token, value) VALUES ('graph_color10', '#6666FF');
 UPDATE tconfig SET value='#FFFF00' WHERE token='graph_color2';
 UPDATE tconfig SET value='#FF6600' WHERE token='graph_color3';
 
+-- ---------------------------------------------------------------------
+-- Table `tconfig_os`
+-- ---------------------------------------------------------------------
+INSERT INTO tconfig_os VALUES (17, 'Router', 'Generic router', 'so_router.png');
+INSERT INTO tconfig_os VALUES (18, 'Switch', 'Generic switch', 'so_switch.png');
+
 /* 2014/03/18 */
 -- ----------------------------------------------------------------------
 -- Table `tmodule_relationship`
diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
index 4d5d4be9f1..f6d2247b8e 100644
--- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
+++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
@@ -32,6 +32,12 @@ INSERT INTO "tconfig" ("token", "value") VALUES
 UPDATE "tconfig" SET "value"='#FFFF00' WHERE "token"='graph_color2';
 UPDATE "tconfig" SET "value"='#FF6600' WHERE "token"='graph_color3';
 
+-- ---------------------------------------------------------------------
+-- Table "tconfig_os"
+-- ---------------------------------------------------------------------
+INSERT INTO "tconfig_os" VALUES (17, 'Router', 'Generic router', 'so_router.png');
+INSERT INTO "tconfig_os" VALUES (18, 'Switch', 'Generic switch', 'so_switch.png');
+
 /* 2014/03/18 */
 -- ----------------------------------------------------------------------
 -- Table `tmodule_relationship`