mirror of https://github.com/apache/cloudstack.git
CS-15070: remove invalid refs from storage_pool_host_ref
This commit is contained in:
parent
63d512b808
commit
44b88e093f
|
|
@ -171,3 +171,5 @@ CREATE TABLE `cloud`.`port_profile` (
|
|||
`port_binding` varchar(20),
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
DELETE FROM `cloud`.`storage_pool_host_ref` WHERE pool_id IN (SELECT id FROM storage_pool WHERE removed IS NOT NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue