fix: index for alarm
This commit is contained in:
1 parent
077187c21d
commit
f5b88d33bd
2 files changed
+6
-2
No files matched your search
@@ -178,4 +178,6 @@ VALUES (
|
||||
);
|
||||
|
||||
ALTER TABLE `omc_db`.`alarm`
|
||||
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;
|
||||
ADD INDEX IF NOT EXISTS `idx_severity_status` (
|
||||
`alarm_status`, `orig_severity`
|
||||
) USING BTREE;
|
||||
@@ -178,4 +178,6 @@ VALUES (
|
||||
);
|
||||
|
||||
ALTER TABLE `omc_db`.`alarm`
|
||||
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;
|
||||
ADD INDEX IF NOT EXISTS `idx_severity_status` (
|
||||
`alarm_status`, `orig_severity`
|
||||
) USING BTREE;
|
||||
Reference in new issue
Block a user