2013-10-07 Junichi Satoh <junichi@rworks.jp>

* 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.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2013-10-07 08:03:05 +00:00
parent e4d9ed8dea
commit 8f5c8146ce
3 changed files with 7 additions and 23 deletions

View File

@ -1,3 +1,9 @@
2013-10-07 Junichi Satoh <junichi@rworks.jp>
* 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 <junichi@rworks.jp> 2013-10-05 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated

View File

@ -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 `email` text NULL;
ALTER TABLE `ttag` ADD COLUMN `phone` 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) -- Add metaconsole fields to user table (17/04/13)
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------

View File

@ -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 "email" TEXT NULL;
ALTER TABLE "ttag" ADD COLUMN "phone" 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) -- 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) -- Table `tnetwork_component` (16/09/13)
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL; ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL;