fix: add index to nbi_cm

This commit is contained in:
simon
2025-04-29 19:41:29 +08:00
parent f4a7c4cf82
commit 3e4b9819dc
2 changed files with 12 additions and 8 deletions

View File

@@ -22,4 +22,7 @@ ALTER TABLE `nbi_cm` DROP COLUMN IF EXISTS `vnf_instance_id`;
ALTER TABLE `nbi_cm` DROP COLUMN IF EXISTS `status`;
ALTER TABLE `nbi_cm`
ADD INDEX IF NOT EXISTS `idx-ne-id-rmuid`(`ne_type`, `ne_id`, `rm_uid`) USING BTREE;
SET FOREIGN_KEY_CHECKS=1;