2021-12-16 10:26:45 +01:00
|
|
|
START TRANSACTION;
|
|
|
|
ALTER TABLE `tpolicy_queue` MODIFY COLUMN `progress` int(10) NOT NULL default '0';
|
2022-01-10 11:24:32 +01:00
|
|
|
CREATE INDEX `IDX_tservice_element` ON `tservice_element`(`id_service`,`id_agente_modulo`);
|
2021-12-16 10:26:45 +01:00
|
|
|
|
2022-01-31 13:45:44 +01:00
|
|
|
ALTER TABLE `talert_templates` ADD COLUMN `schedule` TEXT DEFAULT NULL;
|
2022-01-31 16:50:48 +01:00
|
|
|
ALTER TABLE `tevent_alert` ADD COLUMN `schedule` TEXT DEFAULT NULL;
|
2022-01-31 13:45:44 +01:00
|
|
|
|
|
|
|
SOURCE procedures/alertTemplates.sql;
|
|
|
|
CALL `migrateRanges`();
|
|
|
|
DROP PROCEDURE `migrateRanges`;
|
|
|
|
|
2022-01-31 16:50:48 +01:00
|
|
|
SOURCE procedures/alertEvents.sql;
|
|
|
|
CALL `migrateEventRanges`();
|
|
|
|
DROP PROCEDURE `migrateEventRanges`;
|
|
|
|
|
2021-12-16 10:26:45 +01:00
|
|
|
COMMIT;
|