mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
add new field in tgraph
This commit is contained in:
parent
50c9763720
commit
4e1dcc5aba
@ -135,3 +135,8 @@ INSERT INTO `tagent_custom_fields` (`name`) VALUES ('eHorusID');
|
|||||||
-- in cron interval and problems with process data from pandora server
|
-- in cron interval and problems with process data from pandora server
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
UPDATE tagente_modulo SET cron_interval = '' WHERE cron_interval LIKE '% %'
|
UPDATE tagente_modulo SET cron_interval = '' WHERE cron_interval LIKE '% %'
|
||||||
|
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
-- Table `tgraph`
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
ALTER TABLE tgraph ADD COLUMN `percentil` int(4) unsigned default '0';
|
@ -107,3 +107,8 @@ ALTER TABLE tlayout_data ADD COLUMN type_graph varchar(50) NOT NULL default 'are
|
|||||||
-- Table `tagent_custom_fields`
|
-- Table `tagent_custom_fields`
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
INSERT INTO tagent_custom_fields (name) VALUES ('eHorusID');
|
INSERT INTO tagent_custom_fields (name) VALUES ('eHorusID');
|
||||||
|
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
-- Table `tgraph`
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
ALTER TABLE tgraph ADD COLUMN percentil int(4) unsigned default '0';
|
@ -38,3 +38,8 @@ ALTER TABLE tlayout ADD COLUMN background_color varchar(50) NOT NULL default '#F
|
|||||||
-- Table `tlayout_data`
|
-- Table `tlayout_data`
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
ALTER TABLE tlayout_data ADD COLUMN type_graph varchar(50) NOT NULL default 'area';
|
ALTER TABLE tlayout_data ADD COLUMN type_graph varchar(50) NOT NULL default 'area';
|
||||||
|
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
-- Table `tgraph`
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
ALTER TABLE tgraph ADD COLUMN percentil int(4) unsigned default 0;
|
||||||
|
@ -1196,7 +1196,8 @@ CREATE TABLE tgraph (
|
|||||||
events NUMBER(5, 0) DEFAULT 0,
|
events NUMBER(5, 0) DEFAULT 0,
|
||||||
stacked NUMBER(5, 0) DEFAULT 0,
|
stacked NUMBER(5, 0) DEFAULT 0,
|
||||||
id_group NUMBER(19, 0) DEFAULT 0,
|
id_group NUMBER(19, 0) DEFAULT 0,
|
||||||
id_graph_template NUMBER(11, 0) DEFAULT 0
|
id_graph_template NUMBER(11, 0) DEFAULT 0,
|
||||||
|
percentil NUMBER(5, 0) DEFAULT 0
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE SEQUENCE tgraph_s INCREMENT BY 1 START WITH 1;
|
CREATE SEQUENCE tgraph_s INCREMENT BY 1 START WITH 1;
|
||||||
|
@ -991,7 +991,8 @@ CREATE TABLE "tgraph" (
|
|||||||
"events" SMALLINT NOT NULL default 0,
|
"events" SMALLINT NOT NULL default 0,
|
||||||
"stacked" SMALLINT NOT NULL default 0,
|
"stacked" SMALLINT NOT NULL default 0,
|
||||||
"id_group" BIGINT NOT NULL default 0,
|
"id_group" BIGINT NOT NULL default 0,
|
||||||
"id_graph_template" INTEGER NOT NULL default 0
|
"id_graph_template" INTEGER NOT NULL default 0,
|
||||||
|
"percentil" INTEGER NOT NULL default 0
|
||||||
);
|
);
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
@ -1105,6 +1105,7 @@ CREATE TABLE IF NOT EXISTS `tgraph` (
|
|||||||
`stacked` tinyint(1) UNSIGNED NOT NULL default 0,
|
`stacked` tinyint(1) UNSIGNED NOT NULL default 0,
|
||||||
`id_group` mediumint(8) unsigned NULL default 0,
|
`id_group` mediumint(8) unsigned NULL default 0,
|
||||||
`id_graph_template` int(11) NOT NULL default 0,
|
`id_graph_template` int(11) NOT NULL default 0,
|
||||||
|
`percentil` tinyint(1) UNSIGNED NOT NULL default 0,
|
||||||
PRIMARY KEY(`id_graph`)
|
PRIMARY KEY(`id_graph`)
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user