From 329b2b5c13774b909e601d37e6ea51a703cc042e Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 12 Sep 2012 15:11:28 +0000 Subject: [PATCH] 2012-09-12 Vanessa Gil * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Fixed bug: error adding fields. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 ++++++ .../pandoradb_migrate_4.0.x_to_5.0.mysql.sql | 23 +++++++++++------- .../pandoradb_migrate_4.0.x_to_5.0.oracle.sql | 23 +++++++++++------- ...doradb_migrate_4.0.x_to_5.0.postgreSQL.sql | 24 ++++++++++++------- 4 files changed, 53 insertions(+), 24 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ccb941288d..0827f30d44 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2012-09-12 Vanessa Gil + + * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, + extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, + extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Fixed bug: + error adding fields. + 2012-09-12 Hirofumi Kosaka * include/functions_users.php 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 2f557a1b6a..aaceb73955 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 @@ -312,16 +312,23 @@ ALTER TABLE trecon_task MODIFY field1 TEXT NOT NULL DEFAULT ''; ALTER TABLE tlayout_data ADD COLUMN `enable_link` tinyint(1) UNSIGNED NOT NULL default 1; -- ----------------------------------------------------- --- Table `tlocal_component` +-- Table `tagente_modulo` -- ----------------------------------------------------- -ALTER TABLE tlocal_component ADD `critical_instructions` TEXT NOT NULL default ''; -ALTER TABLE tlocal_component ADD `warning_instructions` TEXT NOT NULL default ''; -ALTER TABLE tlocal_component ADD `unknown_instructions` TEXT NOT NULL default ''; +ALTER TABLE tagente_modulo ADD `critical_instructions` TEXT NOT NULL default ''; +ALTER TABLE tagente_modulo ADD `warning_instructions` TEXT NOT NULL default ''; +ALTER TABLE tagente_modulo ADD `unknown_instructions` TEXT NOT NULL default ''; -- ----------------------------------------------------- --- Table `tpolicy_modules` +-- Table `tevento` -- ----------------------------------------------------- -ALTER TABLE tpolicy_modules ADD `critical_instructions` TEXT NOT NULL default ''; -ALTER TABLE tpolicy_modules ADD `warning_instructions` TEXT NOT NULL default ''; -ALTER TABLE tpolicy_modules ADD `unknown_instructions` TEXT NOT NULL default ''; +ALTER TABLE tevento ADD `critical_instructions` TEXT NOT NULL default ''; +ALTER TABLE tevento ADD `warning_instructions` TEXT NOT NULL default ''; +ALTER TABLE tevento ADD `unknown_instructions` TEXT NOT NULL default ''; + +-- ----------------------------------------------------- +-- Table `tnetwork_component` +-- ----------------------------------------------------- +ALTER TABLE tnetwork_component ADD `critical_instructions` TEXT NOT NULL default ''; +ALTER TABLE tnetwork_component ADD `warning_instructions` TEXT NOT NULL default ''; +ALTER TABLE tnetwork_component ADD `unknown_instructions` TEXT NOT NULL default ''; diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index 4e8f3182d1..5d535681b0 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -311,16 +311,23 @@ ALTER TABLE trecon_task MODIFY field1 TEXT NOT NULL; ALTER TABLE tlayout_data ADD (enable_link NUMBER(5, 0) NOT NULL default 1); -- ----------------------------------------------------- --- Table `tlocal_component` +-- Table `tevento` -- ----------------------------------------------------- -ALTER TABLE tlocal_component ADD (critical_instructions VARCHAR2(255) default ''); -ALTER TABLE tlocal_component ADD (warning_instructions VARCHAR2(255) default ''); -ALTER TABLE tlocal_component ADD (unknown_instructions VARCHAR2(255) default ''); +ALTER TABLE tevento ADD (critical_instructions VARCHAR2(255) default ''); +ALTER TABLE tevento ADD (warning_instructions VARCHAR2(255) default ''); +ALTER TABLE tevento ADD (unknown_instructions VARCHAR2(255) default ''); -- ----------------------------------------------------- --- Table `tpolicy_modules` +-- Table `tagente_modulo` -- ----------------------------------------------------- -ALTER TABLE tpolicy_modules ADD (critical_instructions VARCHAR2(255) default ''); -ALTER TABLE tpolicy_modules ADD (warning_instructions VARCHAR2(255) default ''); -ALTER TABLE tpolicy_modules ADD (unknown_instructions VARCHAR2(255) default ''); +ALTER TABLE tagente_modulo ADD (critical_instructions VARCHAR2(255) default ''); +ALTER TABLE tagente_modulo ADD (warning_instructions VARCHAR2(255) default ''); +ALTER TABLE tagente_modulo ADD (unknown_instructions VARCHAR2(255) default ''); + +-- ----------------------------------------------------- +-- Table `tnetwork_component` +-- ----------------------------------------------------- +ALTER TABLE tnetwork_component ADD (critical_instructions VARCHAR2(255) default ''); +ALTER TABLE tnetwork_component ADD (warning_instructions VARCHAR2(255) default ''); +ALTER TABLE tnetwork_component ADD (unknown_instructions VARCHAR2(255) default ''); 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 aa58fd1cb2..f821004853 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 @@ -313,15 +313,23 @@ ALTER TABLE "trecon_task" ALTER COLUMN "field1" TYPE TEXT; ALTER TABLE "tlayout_data" ADD COLUMN "enable_link" SMALLINT NOT NULL default 1; -- ----------------------------------------------------- --- Table `tlocal_component` +-- Table `tevento` -- ----------------------------------------------------- -ALTER TABLE "tlocal_component" ADD COLUMN "critical_instructions" text default ''; -ALTER TABLE "tlocal_component" ADD COLUMN "warning_instructions" text default ''; -ALTER TABLE "tlocal_component" ADD COLUMN "unknown_instructions" text default ''; +ALTER TABLE "tevento" ADD COLUMN "critical_instructions" text default ''; +ALTER TABLE "tevento" ADD COLUMN "warning_instructions" text default ''; +ALTER TABLE "tevento" ADD COLUMN "unknown_instructions" text default ''; -- ----------------------------------------------------- --- Table `tpolicy_modules` +-- Table `tagente_modulo` -- ----------------------------------------------------- -ALTER TABLE "tpolicy_modules" ADD COLUMN "critical_instructions" text default ''; -ALTER TABLE "tpolicy_modules" ADD COLUMN "warning_instructions" text default ''; -ALTER TABLE "tpolicy_modules" ADD COLUMN "unknown_instructions" text default ''; +ALTER TABLE "tagente_modulo" ADD COLUMN "critical_instructions" text default ''; +ALTER TABLE "tagente_modulo" ADD COLUMN "warning_instructions" text default ''; +ALTER TABLE "tagente_modulo" ADD COLUMN "unknown_instructions" text default ''; + +-- ----------------------------------------------------- +-- Table `tnetwork_component` +-- ----------------------------------------------------- +ALTER TABLE "tnetwork_component" ADD COLUMN "critical_instructions" text default ''; +ALTER TABLE "tnetwork_component" ADD COLUMN "warning_instructions" text default ''; +ALTER TABLE "tnetwork_component" ADD COLUMN "unknown_instructions" text default ''; +