mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-1372-Poder-escoger-fecha-de-inicio-y-fin-en-Hourly-Weekly-y-Monthly-SLA' into 'develop'
Ent 1372 poder escoger fecha de inicio y fin en hourly weekly y monthly sla See merge request artica/pandorafms!2399 Former-commit-id: 687a8dcf165a1cf4c6103ea560120ad871e0634d
This commit is contained in:
commit
0229ca9d33
@ -1,9 +1,13 @@
|
|||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE `treport_content` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
||||||
|
|
||||||
|
ALTER TABLE `treport_content_template` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
||||||
|
|
||||||
ALTER TABLE `talert_commands` ADD COLUMN `fields_hidden` text;
|
ALTER TABLE `talert_commands` ADD COLUMN `fields_hidden` text;
|
||||||
|
|
||||||
ALTER TABLE `talert_templates` MODIFY COLUMN `type` ENUM('regex','max_min','max','min','equal','not_equal','warning','critical','onchange','unknown','always','not_normal');
|
ALTER TABLE `talert_templates` MODIFY COLUMN `type` ENUM('regex','max_min','max','min','equal','not_equal','warning','critical','onchange','unknown','always','not_normal');
|
||||||
|
|
||||||
DELETE FROM `tevent_response` WHERE `name` LIKE 'Create Integria IMS incident from event';
|
DELETE FROM `tevent_response` WHERE `name` LIKE 'Create Integria IMS incident from event';
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
@ -778,6 +778,7 @@ ALTER TABLE `treport_content_template` ADD COLUMN `checks_in_ok_status` TINYINT(
|
|||||||
ALTER TABLE `treport_content_template` ADD COLUMN `unknown_checks` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content_template` ADD COLUMN `unknown_checks` TINYINT(1) DEFAULT '1';
|
||||||
ALTER TABLE `treport_content_template` ADD COLUMN `agent_max_value` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content_template` ADD COLUMN `agent_max_value` TINYINT(1) DEFAULT '1';
|
||||||
ALTER TABLE `treport_content_template` ADD COLUMN `agent_min_value` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content_template` ADD COLUMN `agent_min_value` TINYINT(1) DEFAULT '1';
|
||||||
|
ALTER TABLE `treport_content_template` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `treport_content_sla_com_temp` (treport_content_sla_combined_template)
|
-- Table `treport_content_sla_com_temp` (treport_content_sla_combined_template)
|
||||||
@ -1393,7 +1394,6 @@ UPDATE treport_custom_sql SET `sql` = 'select t1.alias as agent_n
|
|||||||
-- ----------------------------------------------------------------------
|
-- ----------------------------------------------------------------------
|
||||||
-- Table `treport_content`
|
-- Table `treport_content`
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE treport_content ADD COLUMN `historical_db` tinyint(1) NOT NULL DEFAULT '0';
|
ALTER TABLE treport_content ADD COLUMN `historical_db` tinyint(1) NOT NULL DEFAULT '0';
|
||||||
ALTER TABLE treport_content ADD COLUMN `lapse_calc` tinyint(1) default '0';
|
ALTER TABLE treport_content ADD COLUMN `lapse_calc` tinyint(1) default '0';
|
||||||
ALTER TABLE treport_content ADD COLUMN `lapse` int(11) default '300';
|
ALTER TABLE treport_content ADD COLUMN `lapse` int(11) default '300';
|
||||||
@ -1414,6 +1414,7 @@ ALTER TABLE `treport_content` ADD COLUMN `checks_in_ok_status` TINYINT(1) DEFAUL
|
|||||||
ALTER TABLE `treport_content` ADD COLUMN `unknown_checks` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content` ADD COLUMN `unknown_checks` TINYINT(1) DEFAULT '1';
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `agent_max_value` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content` ADD COLUMN `agent_max_value` TINYINT(1) DEFAULT '1';
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `agent_min_value` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content` ADD COLUMN `agent_min_value` TINYINT(1) DEFAULT '1';
|
||||||
|
ALTER TABLE `treport_content` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
-- Table `tmodule_relationship`
|
-- Table `tmodule_relationship`
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
-- PLEASE NO NOT USE MULTILINE COMMENTS
|
-- PLEASE NO NOT USE MULTILINE COMMENTS
|
||||||
-- Because Pandora Installer don't understand them
|
-- Because Pandora Installer don't understand them
|
||||||
-- and fails creating database !!!
|
-- and fails creating database !!!
|
||||||
|
|
||||||
@ -1434,6 +1434,7 @@ CREATE TABLE IF NOT EXISTS `treport_content` (
|
|||||||
`unknown_checks` TINYINT(1) DEFAULT '1',
|
`unknown_checks` TINYINT(1) DEFAULT '1',
|
||||||
`agent_max_value` TINYINT(1) DEFAULT '1',
|
`agent_max_value` TINYINT(1) DEFAULT '1',
|
||||||
`agent_min_value` TINYINT(1) DEFAULT '1',
|
`agent_min_value` TINYINT(1) DEFAULT '1',
|
||||||
|
`current_month` TINYINT(1) DEFAULT '1',
|
||||||
PRIMARY KEY(`id_rc`),
|
PRIMARY KEY(`id_rc`),
|
||||||
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
@ -2973,6 +2974,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_template` (
|
|||||||
`unknown_checks` TINYINT(1) DEFAULT '1',
|
`unknown_checks` TINYINT(1) DEFAULT '1',
|
||||||
`agent_max_value` TINYINT(1) DEFAULT '1',
|
`agent_max_value` TINYINT(1) DEFAULT '1',
|
||||||
`agent_min_value` TINYINT(1) DEFAULT '1',
|
`agent_min_value` TINYINT(1) DEFAULT '1',
|
||||||
|
`current_month` TINYINT(1) DEFAULT '1',
|
||||||
PRIMARY KEY(`id_rc`)
|
PRIMARY KEY(`id_rc`)
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user