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 + + * 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 * 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`