Visual console improvements - Update database - #110

This commit is contained in:
enriquecd 2016-11-16 18:55:36 +01:00
parent de39acad31
commit 534b7eb05a
6 changed files with 37 additions and 1 deletions

View File

@ -113,3 +113,13 @@ ALTER TABLE tnetwork_component ADD COLUMN `dynamic_two_tailed` tinyint(1) unsign
-- ---------------------------------------------------------------------
ALTER TABLE tagente ADD `transactional_agent` tinyint(1) NOT NULL default 0;
ALTER TABLE tagente ADD `remote` tinyint(1) NOT NULL default 0;
-- ---------------------------------------------------------------------
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout ADD `background_color` varchar(50) NOT NULL default '#FFF';
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout_data ADD `type_graph` varchar(50) NOT NULL default 'area';

View File

@ -91,3 +91,13 @@ ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned
-- ---------------------------------------------------------------------
ALTER TABLE tagente ADD transactional_agent tinyint(1) NOT NULL default 0;
ALTER TABLE tagente ADD remoteto tinyint(1) NOT NULL default 0;
-- ---------------------------------------------------------------------
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout ADD COLUMN background_color varchar(50) NOT NULL default '#FFF';
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout_data ADD COLUMN type_graph varchar(50) NOT NULL default 'area';

View File

@ -28,3 +28,13 @@ ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned
-- ---------------------------------------------------------------------
ALTER TABLE tagente ADD transactional_agent tinyint(1) NOT NULL default 0;
ALTER TABLE tagente ADD remote tinyint(1) NOT NULL default 0;
-- ---------------------------------------------------------------------
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout ADD COLUMN background_color varchar(50) NOT NULL default '#FFF';
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout_data ADD COLUMN type_graph varchar(50) NOT NULL default 'area';

View File

@ -1345,8 +1345,9 @@ CREATE TABLE tlayout (
id NUMBER(10, 0) PRIMARY KEY,
name varchar(50) ,
id_group NUMBER(10, 0),
background varchar(200) ,
background VARCHAR2(200) ,
height NUMBER(10, 0) DEFAULT 0,
background_color VARCHAR2(50) DEFAULT '#FFF',
width NUMBER(10, 0) DEFAULT 0
);
@ -1376,6 +1377,7 @@ CREATE TABLE tlayout_data (
id_group NUMBER(10, 0) DEFAULT 0,
id_custom_graph NUMBER(10, 0) DEFAULT 0,
border_width NUMBER(10, 0) DEFAULT 0,
type_graph VARCHAR2(50) DEFAULT 'area',
border_color VARCHAR2(200) DEFAULT '',
fill_color VARCHAR2(200) DEFAULT ''
);

View File

@ -1112,6 +1112,7 @@ CREATE TABLE "tlayout" (
"id_group" INTEGER NOT NULL,
"background" varchar(200) NOT NULL,
"height" INTEGER NOT NULL default 0,
"background_color" varchar(50) NOT NULL default '#FFF',
"width" INTEGER NOT NULL default 0
);
@ -1138,6 +1139,7 @@ CREATE TABLE "tlayout_data" (
"id_group" INTEGER NOT NULL default 0,
"id_custom_graph" INTEGER NOT NULL default 0,
"border_width" INTEGER NOT NULL default 0,
"type_graph" varchar(50) NOT NULL DEFAULT 'area',
"border_color" varchar(200) DEFAULT '',
"fill_color" varchar(200) DEFAULT ''
);

View File

@ -1238,6 +1238,7 @@ CREATE TABLE IF NOT EXISTS `tlayout` (
`background` varchar(200) NOT NULL,
`height` INTEGER UNSIGNED NOT NULL default 0,
`width` INTEGER UNSIGNED NOT NULL default 0,
`background_color` varchar(50) NOT NULL default '#FFF',
PRIMARY KEY(`id`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
@ -1264,6 +1265,7 @@ CREATE TABLE IF NOT EXISTS `tlayout_data` (
`id_group` INTEGER UNSIGNED NOT NULL default 0,
`id_custom_graph` INTEGER UNSIGNED NOT NULL default 0,
`border_width` INTEGER UNSIGNED NOT NULL default 0,
`type_graph` varchar(50) NOT NULL default 'area',
`border_color` varchar(200) DEFAULT "",
`fill_color` varchar(200) DEFAULT "",
PRIMARY KEY(`id`)