DaanHoogland commented on a change in pull request #5909:
URL: https://github.com/apache/cloudstack/pull/5909#discussion_r795747089
##########
File path: engine/schema/src/main/resources/META-INF/db/schema-41610to41700.sql
##########
@@ -638,4 +638,53 @@ CREATE VIEW `cloud`.`domain_router_view` AS
left join
`cloud`.`async_job` ON async_job.instance_id = vm_instance.id
and async_job.instance_type = 'DomainRouter'
- and async_job.job_status = 0;
\ No newline at end of file
+ and async_job.job_status = 0;
+
+----- PR Quota custom tariffs #0000 -----
+-- Create column 'uuid'
+ALTER TABLE cloud_usage.quota_tariff
+ADD COLUMN `uuid` varchar(40);
+
+UPDATE cloud_usage.quota_tariff
+SET uuid = UUID()
Review comment:
not sure, but this might lead to multiple records with the same ID, i.e.
uuid() would be evaluated before the update execution is done.
--
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]