2013-01-17 Juan Manuel Ramon <juanmanuel.ramon@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 wizard level by default. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
977f1cb94e
commit
4fd2069874
|
@ -1,3 +1,13 @@
|
|||
2013-01-17 Juan Manuel Ramon <juanmanuel.ramon@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
|
||||
wizard level by default.
|
||||
|
||||
2013-01-17 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/users/user_edit.php: Adapted the user edit
|
||||
|
|
|
@ -175,7 +175,7 @@ UPDATE `tagente_modulo` SET max_retries=plugin_pass WHERE id_modulo=7;
|
|||
-- ----------------------------------------------------------------------
|
||||
ALTER TABLE `tnetwork_component` CHANGE COLUMN `post_process` `post_process` double(18,5) default NULL;
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `unit` TEXT NOT NULL AFTER `post_process`;
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `wizard_level` enum('basic','advanced','nowizard') default 'nowizard';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `wizard_level` enum('basic','advanced') default 'basic';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `macros` text;
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `critical_instructions` TEXT NOT NULL default '';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `warning_instructions` TEXT NOT NULL default '';
|
||||
|
|
|
@ -300,8 +300,8 @@ WHERE token='prominent_time';
|
|||
-- -----------------------------------------------------
|
||||
-- Table tnetwork_component
|
||||
-- -----------------------------------------------------
|
||||
ALTER TABLE tnetwork_component ADD (wizard_level VARCHAR2(100) default 'nowizard' NOT NULL);
|
||||
ALTER TABLE tnetwork_component ADD CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','nowizard'));
|
||||
ALTER TABLE tnetwork_component ADD (wizard_level VARCHAR2(100) default 'basic' NOT NULL);
|
||||
ALTER TABLE tnetwork_component ADD CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced'));
|
||||
ALTER TABLE tnetwork_component ADD (macros CLOB default '');
|
||||
|
||||
|
||||
|
|
|
@ -316,8 +316,8 @@ WHERE "token"='prominent_time';
|
|||
-- Table "tnetwork_component"
|
||||
-- -----------------------------------------------------
|
||||
|
||||
CREATE TYPE type_tnetwork_component_wizard_level AS ENUM ('basic','advanced','nowizard');
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "wizard_level" type_tnetwork_component_wizard_level default 'nowizard';
|
||||
CREATE TYPE type_tnetwork_component_wizard_level AS ENUM ('basic','advanced');
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "wizard_level" type_tnetwork_component_wizard_level default 'basic';
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "macros" TEXT default '';
|
||||
|
||||
-- -----------------------------------------------------
|
||||
|
|
|
@ -676,7 +676,7 @@ CREATE TABLE tnetwork_component (
|
|||
custom_integer_2 INTEGER default 0,
|
||||
post_process BINARY_DOUBLE default 0.
|
||||
unit CLOB default '',
|
||||
wizard_level VARCHAR2(100) default 'nowizard' NOT NULL,
|
||||
wizard_level VARCHAR2(100) default 'basic' NOT NULL,
|
||||
macros CLOB default '',
|
||||
critical_instructions VARCHAR2(255) default '',
|
||||
warning_instructions VARCHAR2(255) default '',
|
||||
|
@ -685,7 +685,7 @@ CREATE TABLE tnetwork_component (
|
|||
warning_inverse NUMBER(1, 0) default 0 NOT NULL,
|
||||
id_category NUMBER(10, 0) default 0 NOT NULL,
|
||||
tags CLOB,
|
||||
CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','nowizard'))
|
||||
CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced'))
|
||||
);
|
||||
|
||||
CREATE SEQUENCE tnetwork_component_s INCREMENT BY 1 START WITH 1;
|
||||
|
|
|
@ -537,7 +537,7 @@ CREATE TABLE "tmodule_group" (
|
|||
-- ---------------------------------------------------------------------
|
||||
-- Table `tnetwork_component`
|
||||
-- ---------------------------------------------------------------------
|
||||
CREATE TYPE type_tlocal_component_wizard_level AS ENUM ('basic','advanced','nowizard');
|
||||
CREATE TYPE type_tlocal_component_wizard_level AS ENUM ('basic','advanced');
|
||||
CREATE TABLE "tnetwork_component" (
|
||||
"id_nc" SERIAL NOT NULL PRIMARY KEY,
|
||||
"name" varchar(80) NOT NULL,
|
||||
|
@ -575,7 +575,7 @@ CREATE TABLE "tnetwork_component" (
|
|||
"custom_integer_2" INTEGER default 0,
|
||||
"post_process" DOUBLE PRECISION default 0,
|
||||
"unit" TEXT default '',
|
||||
"wizard_level" type_tlocal_component_wizard_level default 'nowizard',
|
||||
"wizard_level" type_tlocal_component_wizard_level default 'basic',
|
||||
"macros" TEXT default '',
|
||||
"critical_instructions" TEXT default '',
|
||||
"warning_instructions" TEXT default '',
|
||||
|
|
|
@ -632,7 +632,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
|
|||
`custom_integer_2` int(10) default 0,
|
||||
`post_process` double(18,5) default 0,
|
||||
`unit` text,
|
||||
`wizard_level` enum('basic','advanced','nowizard') default 'nowizard',
|
||||
`wizard_level` enum('basic','advanced') default 'basic',
|
||||
`macros` text,
|
||||
`critical_instructions` text NOT NULL default '',
|
||||
`warning_instructions` text NOT NULL default '',
|
||||
|
|
Loading…
Reference in New Issue