2012-09-12 Vanessa Gil <vanessa.gil@artica.es>

* 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
This commit is contained in:
vgilc 2012-09-12 15:11:28 +00:00
parent 0b5c0c0fc6
commit 209cbf6007
4 changed files with 53 additions and 24 deletions

View File

@ -1,3 +1,10 @@
2012-09-12 Vanessa Gil <vanessa.gil@artica.es>
* 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 <kosaka@rworks.jp>
* include/functions_users.php

View File

@ -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 '';

View File

@ -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 '');

View File

@ -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 '';