You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2025/07/14 04:40:31 UTC

(cloudstack) branch 4.20 updated: schema: fix missing columns index (#11171)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.20 by this push:
     new 49c6fbdfaf3 schema: fix missing columns index (#11171)
49c6fbdfaf3 is described below

commit 49c6fbdfaf3d0fe1ec03064cae9c42c1fd150a15
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Mon Jul 14 10:10:23 2025 +0530

    schema: fix missing columns index (#11171)
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 .../schema/src/main/java/com/cloud/upgrade/dao/Upgrade42000to42010.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42000to42010.java b/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42000to42010.java
index d442dc89904..0c0a9f070ba 100644
--- a/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42000to42010.java
+++ b/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42000to42010.java
@@ -100,8 +100,6 @@ public class Upgrade42000to42010 extends DbUpgradeAbstractImpl implements DbUpgr
 
         DbUpgradeUtils.addIndexIfNeeded(conn, "network_offering_details", "name");
 
-        DbUpgradeUtils.addIndexIfNeeded(conn, "network_offering_details", "resource_id", "resource_type");
-
         DbUpgradeUtils.addIndexIfNeeded(conn, "service_offering", "cpu");
         DbUpgradeUtils.addIndexIfNeeded(conn, "service_offering", "speed");
         DbUpgradeUtils.addIndexIfNeeded(conn, "service_offering", "ram_size");