weizhouapache commented on code in PR #10223:
URL: https://github.com/apache/cloudstack/pull/10223#discussion_r1924314128
##########
engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql:
##########
@@ -21,3 +21,6 @@
-- Add last_id to the volumes table
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.volumes', 'last_id', 'bigint(20)
unsigned DEFAULT NULL');
+
+ALTER TABLE `cloud`.`counter` DROP KEY `uc_counter__provider__source__value`;
+CALL `cloud`.`IDEMPOTENT_ADD_UNIQUE_KEY`('cloud.counter',
'uc_counter__provider__source__value_removed', '(provider, source, value,
removed)');
Review Comment:
If I understand correctly, what Daan meant is the upgrade from a version
which does not have this change , for example 4.20.0.0 ?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]