shwstppr commented on code in PR #9840:
URL: https://github.com/apache/cloudstack/pull/9840#discussion_r1828876632


##########
engine/schema/src/main/java/com/cloud/upgrade/dao/DatabaseAccessObject.java:
##########
@@ -114,6 +114,17 @@ public void createIndex(Connection conn, String tableName, 
String indexName, Str
         }
     }
 
+    public void renameIndex(Connection conn, String tableName, String oldName, 
String newName) {
+        String stmt = String.format("ALTER TABLE %s RENAME INDEX %s TO %s", 
tableName, oldName, newName);

Review Comment:
   Will do some tests and report here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to