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

@@ -176,3 +176,6 @@ REPLACE INTO
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

@@ -176,3 +176,6 @@ REPLACE INTO
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;