diff --git a/pandora_console/extras/mr/61.sql b/pandora_console/extras/mr/61.sql index e3e8e9abaa..b73069c058 100644 --- a/pandora_console/extras/mr/61.sql +++ b/pandora_console/extras/mr/61.sql @@ -2,6 +2,26 @@ START TRANSACTION; ALTER TABLE `tserver` ADD COLUMN `server_keepalive_utimestamp` BIGINT NOT NULL DEFAULT 0; +CREATE TABLE IF NOT EXISTS `tmonitor_filter` ( + `id_filter` INT UNSIGNED NOT NULL AUTO_INCREMENT, + `id_name` VARCHAR(600) NOT NULL, + `id_group_filter` INT NOT NULL DEFAULT 0, + `ag_group` INT NOT NULL DEFAULT 0, + `recursion` TEXT, + `status` INT NOT NULL DEFAULT -1, + `ag_modulename` TEXT, + `ag_freestring` TEXT, + `tag_filter` TEXT, + `moduletype` TEXT, + `module_option` INT DEFAULT 1, + `modulegroup` INT NOT NULL DEFAULT -1, + `min_hours_status` TEXT, + `datatype` TEXT, + `not_condition` TEXT, + `ag_custom_fields` TEXT, + PRIMARY KEY (`id_filter`) +) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4; + CREATE TABLE IF NOT EXISTS `tsesion_filter` ( `id_filter` INT NOT NULL AUTO_INCREMENT, `id_name` TEXT NULL, diff --git a/pandora_console/extras/mr/62.sql b/pandora_console/extras/mr/62.sql index c2a309eb32..e69de29bb2 100644 --- a/pandora_console/extras/mr/62.sql +++ b/pandora_console/extras/mr/62.sql @@ -1,23 +0,0 @@ -START TRANSACTION; - -CREATE TABLE IF NOT EXISTS `tmonitor_filter` ( - `id_filter` INT UNSIGNED NOT NULL AUTO_INCREMENT, - `id_name` VARCHAR(600) NOT NULL, - `id_group_filter` INT NOT NULL DEFAULT 0, - `ag_group` INT NOT NULL DEFAULT 0, - `recursion` TEXT, - `status` INT NOT NULL DEFAULT -1, - `ag_modulename` TEXT, - `ag_freestring` TEXT, - `tag_filter` TEXT, - `moduletype` TEXT, - `module_option` INT DEFAULT 1, - `modulegroup` INT NOT NULL DEFAULT -1, - `min_hours_status` TEXT, - `datatype` TEXT, - `not_condition` TEXT, - `ag_custom_fields` TEXT, - PRIMARY KEY (`id_filter`) -) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4; - -COMMIT;