fixed error in bbdd
Former-commit-id: dddd4fc90a4d3847c04108ba4dcdd4988872066f
This commit is contained in:
parent
626aacbf43
commit
e3222626dc
|
@ -5,19 +5,8 @@ ALTER TABLE `tnetwork_component` ADD COLUMN `ff_type` tinyint(1) unsigned defaul
|
|||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_type` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_type` tinyint(1) unsigned default '0';
|
||||
|
||||
ALTER TABLE `tagente_modulo` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
|
||||
ALTER TABLE `tagente_modulo` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
|
||||
ALTER TABLE `tagente_modulo` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
|
||||
COMMIT;
|
|
@ -59,10 +59,6 @@ CREATE TABLE IF NOT EXISTS `tlocal_component` (
|
|||
ALTER TABLE `tlocal_component` ADD COLUMN `dynamic_next` bigint(20) NOT NULL default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_type` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tlocal_component` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `tpolicy_modules`
|
||||
|
@ -142,9 +138,6 @@ CREATE TABLE IF NOT EXISTS `tpolicy_modules` (
|
|||
ALTER TABLE `tpolicy_modules` ADD COLUMN `dynamic_next` bigint(20) NOT NULL default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `dynamic_two_tailed` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_type` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tpolicy_modules` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tpolicies`
|
||||
|
@ -1159,6 +1152,9 @@ ALTER TABLE tagente_estado MODIFY `status_changes` tinyint(4) unsigned default 0
|
|||
ALTER TABLE tagente_estado CHANGE `last_known_status` `known_status` tinyint(4) default 0;
|
||||
ALTER TABLE tagente_estado ADD COLUMN `last_known_status` tinyint(4) default 0;
|
||||
ALTER TABLE tagente_estado ADD COLUMN last_unknown_update bigint(20) NOT NULL default 0;
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tagente_estado` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `talert_actions`
|
||||
|
@ -1293,9 +1289,6 @@ 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 `ff_type` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_normal` int(4) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_warning` int(4) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `ff_critical` int(4) unsigned default '0';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tagente`
|
||||
|
|
|
@ -164,6 +164,9 @@ CREATE TABLE IF NOT EXISTS `tagente_estado` (
|
|||
`last_known_status` tinyint(4) default 0,
|
||||
`last_error` int(4) NOT NULL default '0',
|
||||
`ff_start_utimestamp` bigint(20) default 0,
|
||||
`ff_normal` int(4) unsigned default '0',
|
||||
`ff_warning` int(4) unsigned default '0',
|
||||
`ff_critical` int(4) unsigned default '0',
|
||||
`last_dynamic_update` bigint(20) NOT NULL default '0',
|
||||
`last_unknown_update` bigint(20) NOT NULL default '0',
|
||||
PRIMARY KEY (`id_agente_estado`),
|
||||
|
@ -250,9 +253,6 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
|
|||
`min_ff_event_warning` int(4) unsigned default '0',
|
||||
`min_ff_event_critical` int(4) unsigned default '0',
|
||||
`ff_type` tinyint(1) unsigned default '0',
|
||||
`ff_normal` int(4) unsigned default '0',
|
||||
`ff_warning` int(4) unsigned default '0',
|
||||
`ff_critical` int(4) unsigned default '0',
|
||||
`each_ff` tinyint(1) unsigned default '0',
|
||||
`ff_timeout` int(4) unsigned default '0',
|
||||
`dynamic_interval` int(4) unsigned default '0',
|
||||
|
@ -868,9 +868,6 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
|
|||
`min_ff_event_warning` int(4) unsigned default '0',
|
||||
`min_ff_event_critical` int(4) unsigned default '0',
|
||||
`ff_type` tinyint(1) unsigned default '0',
|
||||
`ff_normal` int(4) unsigned default '0',
|
||||
`ff_warning` int(4) unsigned default '0',
|
||||
`ff_critical` int(4) unsigned default '0',
|
||||
`each_ff` tinyint(1) unsigned default '0',
|
||||
`dynamic_interval` int(4) unsigned default '0',
|
||||
`dynamic_max` int(4) default '0',
|
||||
|
@ -2231,9 +2228,6 @@ CREATE TABLE IF NOT EXISTS `tlocal_component` (
|
|||
`min_ff_event_warning` int(4) unsigned default '0',
|
||||
`min_ff_event_critical` int(4) unsigned default '0',
|
||||
`ff_type` tinyint(1) unsigned default '0',
|
||||
`ff_normal` int(4) unsigned default '0',
|
||||
`ff_warning` int(4) unsigned default '0',
|
||||
`ff_critical` int(4) unsigned default '0',
|
||||
`each_ff` tinyint(1) unsigned default '0',
|
||||
`ff_timeout` int(4) unsigned default '0',
|
||||
`dynamic_interval` int(4) unsigned default '0',
|
||||
|
@ -2313,9 +2307,6 @@ CREATE TABLE IF NOT EXISTS `tpolicy_modules` (
|
|||
`min_ff_event_warning` int(4) unsigned default '0',
|
||||
`min_ff_event_critical` int(4) unsigned default '0',
|
||||
`ff_type` tinyint(1) unsigned default '0',
|
||||
`ff_normal` int(4) unsigned default '0',
|
||||
`ff_warning` int(4) unsigned default '0',
|
||||
`ff_critical` int(4) unsigned default '0',
|
||||
`each_ff` tinyint(1) unsigned default '0',
|
||||
`ff_timeout` int(4) unsigned default '0',
|
||||
`dynamic_interval` int(4) unsigned default '0',
|
||||
|
|
Loading…
Reference in New Issue