diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8a5c81eab0..cb4c9a652e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-10-07 Junichi Satoh + + * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, + extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Removed + duplicated queries. + 2013-10-05 Junichi Satoh * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index 7f5af9b8c7..5b8255e8ac 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -454,17 +454,6 @@ ALTER TABLE `tusuario_perfil` ADD COLUMN `tags` TEXT NOT NULL; ALTER TABLE `ttag` ADD COLUMN `email` text NULL; ALTER TABLE `ttag` ADD COLUMN `phone` text NULL; --- --------------------------------------------------------------------- --- Add more fields in snmp alerts (05/03/13) --- --------------------------------------------------------------------- -ALTER TABLE `talert_snmp` ADD COLUMN `al_field4` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field5` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field6` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field7` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field8` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field9` text; -ALTER TABLE `talert_snmp` ADD COLUMN `al_field10` text; - -- --------------------------------------------------------------------- -- Add metaconsole fields to user table (17/04/13) -- --------------------------------------------------------------------- diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index ce538f2423..5df5d999d3 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -472,17 +472,6 @@ ALTER TABLE "tusuario_perfil" ADD COLUMN "tags" text default ''; ALTER TABLE "ttag" ADD COLUMN "email" TEXT NULL; ALTER TABLE "ttag" ADD COLUMN "phone" TEXT NULL; --- --------------------------------------------------------------------- --- Add more fields in snmp alerts (05/03/13) --- --------------------------------------------------------------------- -ALTER TABLE "talert_snmp" ADD COLUMN "al_field4" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field5" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field6" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field7" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field8" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field9" TEXT; -ALTER TABLE "talert_snmp" ADD COLUMN "al_field10" TEXT; - -- --------------------------------------------------------------------- -- Add metaconsole fields to user table (17/04/13) -- --------------------------------------------------------------------- @@ -1144,4 +1133,4 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo'; -- --------------------------------------------------------------------- -- Table `tnetwork_component` (16/09/13) -- --------------------------------------------------------------------- -ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL; \ No newline at end of file +ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL;