abh1sar commented on code in PR #10485:
URL: https://github.com/apache/cloudstack/pull/10485#discussion_r2032786309


##########
engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42010to42100.java:
##########
@@ -98,6 +100,8 @@ protected void migrateConfigurationScopeToBitmask(Connection 
conn) {
         migrateExistingConfigurationScopeValues(conn);
         DbUpgradeUtils.dropTableColumnsIfExist(conn, "configuration", 
List.of("scope"));
         DbUpgradeUtils.changeTableColumnIfNotExist(conn, "configuration", 
"new_scope", "scope", "BIGINT NOT NULL DEFAULT 0 COMMENT 'Bitmask for scope(s) 
of this parameter'");
+        ConfigurationDao dao = new ConfigurationDaoImpl();
+        dao.markForColumnsRefresh();

Review Comment:
   @shwstppr markForColumnRefresh access the non-static `_table` field in 
GenericDaoBase.



-- 
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