diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql index d7b06159d3..12b92d8a26 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql @@ -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'; diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql index e9648cb1af..9f8ddf1823 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql @@ -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'; diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.postgreSQL.sql index 556552a58d..4cb4553167 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.postgreSQL.sql @@ -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'; diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index b78ac2e4ca..97128cab1c 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -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 '' ); diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index db256a6bf1..464e8ca06a 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -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 '' ); diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 418f5df5c8..9292e87790 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -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`)