mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5013:
Add the format for volumes table for uploaded volumes. Since volume_host_ref still exists, using that for populating it Signed off by : nitin mehta<nitin.mehta@citrix.com>
This commit is contained in:
parent
dc081c9f6b
commit
f9b658f6af
|
|
@ -215,4 +215,9 @@ CREATE VIEW `cloud`.`user_vm_view` AS
|
|||
left join
|
||||
`cloud`.`affinity_group` ON affinity_group_vm_map.affinity_group_id = affinity_group.id
|
||||
left join
|
||||
`cloud`.`user_vm_details` as all_details ON all_details.vm_id = vm_instance.id;
|
||||
`cloud`.`user_vm_details` as all_details ON all_details.vm_id = vm_instance.id;
|
||||
|
||||
--Add the format for volumes table for uploaded volumes (CLOUDSTACK-5013)
|
||||
update `cloud`.`volumes` v, `cloud`.`volume_host_ref` vhr set v.format=vhr.format where v.id=vhr.volume_id and v.format is null;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue