2012-07-06 Sergio Martin <sergio.martin@artica.es>

* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Changed flag
	only_wizard by only_enterprise



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-07-06 11:57:35 +00:00
parent 104bc62283
commit 93f10d6121
7 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,13 @@
2012-07-06 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Changed flag
only_wizard by only_enterprise
2012-07-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,

View File

@ -273,7 +273,7 @@ WHERE `token`= 'prominent_time'
-- -----------------------------------------------------
ALTER TABLE tnetwork_component ADD `wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard';
ALTER TABLE tnetwork_component ADD `only_wizard` tinyint(1) unsigned default '0';
ALTER TABLE tnetwork_component ADD `only_metaconsole` tinyint(1) unsigned default '0';
ALTER TABLE tnetwork_component ADD `field1_desc` text;
ALTER TABLE tnetwork_component ADD `field1_help` text;
ALTER TABLE tnetwork_component ADD `field2_desc` text;

View File

@ -276,7 +276,7 @@ WHERE token='prominent_time'
ALTER TABLE tnetwork_component ADD (wizard_level VARCHAR2(100) default 'custom' NOT NULL);
ALTER TABLE tnetwork_component ADD CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'));
ALTER TABLE tnetwork_component ADD (only_wizard NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tnetwork_component ADD (only_metaconsole NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tnetwork_component ADD (field1_desc CLOB default '');
ALTER TABLE tnetwork_component ADD (field1_help CLOB default '');
ALTER TABLE tnetwork_component ADD (field2_desc CLOB default '');

View File

@ -265,7 +265,7 @@ WHERE "token"='prominent_time'
CREATE TYPE type_tnetwork_component_wizard_level AS ENUM ('basic','advanced','custom','nowizard');
ALTER TABLE "tnetwork_component" ADD COLUMN "wizard_level" type_tnetwork_component_wizard_level default 'nowizard';
ALTER TABLE "tnetwork_component" ADD COLUMN "only_wizard" INTEGER default '0';
ALTER TABLE "tnetwork_component" ADD COLUMN "only_metaconsole" INTEGER default '0';
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_desc" TEXT default '';
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_help" TEXT default '';
ALTER TABLE "tnetwork_component" ADD COLUMN "field2_desc" TEXT default '';

View File

@ -650,7 +650,7 @@ CREATE TABLE tnetwork_component (
post_process BINARY_DOUBLE default 0.
unit CLOB default '',
wizard_level VARCHAR2(100) default 'nowizard' NOT NULL,
only_wizard NUMBER(5, 0) default 0 NOT NULL,
only_metaconsole NUMBER(5, 0) default 0 NOT NULL,
field1_desc CLOB default '',
field1_help CLOB default '',
field2_desc CLOB default '',

View File

@ -518,7 +518,7 @@ CREATE TABLE "tnetwork_component" (
"post_process" DOUBLE PRECISION default 0,
"unit" TEXT default '',
"wizard_level" type_tlocal_component_wizard_level default 'nowizard',
"only_wizard" INTEGER default '0',
"only_metaconsole" INTEGER default '0',
"field1_desc" TEXT default '',
"field1_help" TEXT default '',
"field2_desc" TEXT default '',

View File

@ -570,7 +570,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
`post_process` double(18,5) default 0,
`unit` text,
`wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard',
`only_wizard` tinyint(1) unsigned default '0',
`only_metaconsole` tinyint(1) unsigned default '0',
`field1_desc` text,
`field1_help` text,
`field2_desc` text,