Add new columns for a new features.

This commit is contained in:
m-lopez-f 2015-10-08 10:37:13 +02:00
parent 00a3494245
commit 063c89008a
4 changed files with 19 additions and 2 deletions

View File

@ -178,3 +178,13 @@ ALTER TABLE tagente_modulo ADD COLUMN `prediction_threshold` int(4) default 0;
-- ---------------------------------------------------------------------
ALTER TABLE tagente_estado ADD COLUMN `last_dynamic_update` bigint(20) NOT NULL default '0';
-- ---------------------------------------------------------------------
-- Table `tgraph_source`
-- ---------------------------------------------------------------------
ALTER TABLE tgraph_source ADD COLUMN `label` varchar(150) DEFAULT '';
-- ---------------------------------------------------------------------
--- Table `tevent_filter`
--- ---------------------------------------------------------------------
-ALTER TABLE tevent_filter ADD COLUMN `id_agent_module` int(25) DEFAULT 0;
-ALTER TABLE tevent_filter ADD COLUMN `id_agent` int(25) DEFAULT 0;

View File

@ -124,3 +124,8 @@ UPDATE `tnetwork_component` set `tcp_port`=0 WHERE id_nc=219;
-- ---------------------------------------------------------------------
ALTER TABLE tevent_filter ADD COLUMN id_agent_module int(25) DEFAULT 0;
ALTER TABLE tevent_filter ADD COLUMN id_agent int(25) DEFAULT 0;
-- ---------------------------------------------------------------------
-- Table `tgraph_source`
-- ---------------------------------------------------------------------
ALTER TABLE tgraph_source ADD COLUMN label VARCHAR2(150) DEFAULT '';

View File

@ -1195,7 +1195,8 @@ CREATE TABLE tgraph_source (
id_gs NUMBER(10, 0) PRIMARY KEY,
id_graph NUMBER(19, 0) DEFAULT 0,
id_agent_module NUMBER(19, 0) DEFAULT 0,
weight BINARY_DOUBLE DEFAULT 0
weight BINARY_DOUBLE DEFAULT 0,
label VARCHAR2(150) DEFAULT ''
);
CREATE SEQUENCE tgraph_source_s INCREMENT BY 1 START WITH 1;

View File

@ -1073,6 +1073,7 @@ CREATE TABLE IF NOT EXISTS `tgraph_source` (
`id_graph` int(11) NOT NULL default 0,
`id_agent_module` int(11) NOT NULL default 0,
`weight` float(8,3) NOT NULL DEFAULT 0,
`label` varchar(150) DEFAULT '',
PRIMARY KEY(`id_gs`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;