DaanHoogland commented on code in PR #10223:
URL: https://github.com/apache/cloudstack/pull/10223#discussion_r1923266298
##########
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:
how will we deal with this in upgrade paths that bypass this one?
I mean can we add an if-exists construct and copy it to future upgrades?
--
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]