Pearl1594 commented on code in PR #10223:
URL: https://github.com/apache/cloudstack/pull/10223#discussion_r1924316965


##########
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:
   Ah.. got it.. I completely forgot :facepalm: 



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

Reply via email to