Add missing indexes for vmstats (#391)

This commit is contained in:
Vishesh 2024-03-21 14:04:50 +05:30 committed by GitHub
parent 5b3a81c2a3
commit a1122d175e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -251,5 +251,7 @@ public class Upgrade41800to41810 implements DbUpgrade, DbUpgradeSystemVmTemplate
DbUpgradeUtils.addIndexIfNeeded(conn, "event", "resource_type", "resource_id");
DbUpgradeUtils.addIndexIfNeeded(conn, "cluster_details", "name");
DbUpgradeUtils.addIndexIfNeeded(conn, "vm_stats", "vm_id");
}
}