fix: index of alarm

This commit is contained in:
2024-02-02 11:30:20 +08:00
parent fcb69fd70d
commit 07ca604c8f
2 changed files with 8 additions and 2 deletions

View File

@@ -175,4 +175,7 @@ REPLACE INTO
`omc_db`.`sys_dict_data`
VALUES (
4034, 4034, 'menu.dashboard.overview', 'Overview', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL
);
);
ALTER TABLE `omc_db`.`alarm`
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;

View File

@@ -175,4 +175,7 @@ REPLACE INTO
`omc_db`.`sys_dict_data`
VALUES (
4034, 4034, 'menu.dashboard.overview', 'Overview', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL
);
);
ALTER TABLE `omc_db`.`alarm`
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;