New value to transactional agents in db table
This commit is contained in:
parent
aa2ce23405
commit
e974516b77
|
@ -106,4 +106,9 @@ ALTER TABLE tnetwork_component ADD COLUMN `dynamic_interval` int(4) unsigned def
|
|||
ALTER TABLE tnetwork_component ADD COLUMN `dynamic_max` int(4) default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN `dynamic_min` int(4) default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN `dynamic_next` bigint(20) NOT NULL default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned default '0';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tagente`
|
||||
-- ---------------------------------------------------------------------
|
||||
ALTER TABLE tagente ADD `transactional_agent` tinyint(1) NOT NULL default 0;
|
|
@ -84,4 +84,9 @@ ALTER TABLE tnetwork_component ADD COLUMN dynamic_interval int(4) unsigned defau
|
|||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_max int(4) default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_min int(4) default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_next bigint(20) NOT NULL default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned default '0';
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned default '0';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tagente`
|
||||
-- ---------------------------------------------------------------------
|
||||
ALTER TABLE tagente ADD transactional_agent tinyint(1) NOT NULL default 0;
|
|
@ -21,4 +21,9 @@ ALTER TABLE tnetwork_component ADD COLUMN dynamic_interval int(4) unsigned defau
|
|||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_max int(4) default 0;
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_min int(4) default 0;
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_next bigint(20) NOT NULL default 0;
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned default 0;
|
||||
ALTER TABLE tnetwork_component ADD COLUMN dynamic_two_tailed tinyint(1) unsigned default 0;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tagente`
|
||||
-- ---------------------------------------------------------------------
|
||||
ALTER TABLE tagente ADD transactional_agent tinyint(1) NOT NULL default 0;
|
|
@ -106,7 +106,8 @@ CREATE TABLE tagente (
|
|||
total_count NUMBER(20, 0) DEFAULT 0,
|
||||
fired_count NUMBER(20, 0) DEFAULT 0,
|
||||
update_module_count NUMBER(5, 0) DEFAULT 0,
|
||||
update_alert_count NUMBER(5, 0) DEFAULT 0
|
||||
update_alert_count NUMBER(5, 0) DEFAULT 0,
|
||||
transactional_agent NUMBER(5,0) DEFAULT 0
|
||||
);
|
||||
CREATE INDEX tagente_nombre_idx ON tagente(nombre);
|
||||
CREATE INDEX tagente_direccion_idx ON tagente(direccion);
|
||||
|
|
|
@ -87,7 +87,8 @@ CREATE TABLE "tagente" (
|
|||
"total_count" INTEGER NOT NULL default 0,
|
||||
"fired_count" INTEGER NOT NULL default 0,
|
||||
"update_module_count" SMALLINT NOT NULL DEFAULT 1,
|
||||
"update_alert_count" SMALLINT NOT NULL DEFAULT 1
|
||||
"update_alert_count" SMALLINT NOT NULL DEFAULT 1,
|
||||
"transactional_agent" SMALLINT NOT NULL DEFAULT 0
|
||||
);
|
||||
CREATE INDEX "tagente_nombre_idx" ON "tagente"("nombre");
|
||||
CREATE INDEX "tagente_direccion_idx" ON "tagente"("direccion");
|
||||
|
|
|
@ -80,6 +80,7 @@ CREATE TABLE IF NOT EXISTS `tagente` (
|
|||
`fired_count` bigint(20) NOT NULL default '0',
|
||||
`update_module_count` tinyint(1) NOT NULL default '0',
|
||||
`update_alert_count` tinyint(1) NOT NULL default '0',
|
||||
`transactional_agent` tinyint(1) NOT NULL default '0',
|
||||
PRIMARY KEY (`id_agente`),
|
||||
KEY `nombre` (`nombre`(255)),
|
||||
KEY `direccion` (`direccion`),
|
||||
|
|
Loading…
Reference in New Issue