diff --git a/setup/db/db/schema-4930to41000-cleanup.sql b/setup/db/db/schema-4930to41000-cleanup.sql index b090907d978..986dcdfe7da 100644 --- a/setup/db/db/schema-4930to41000-cleanup.sql +++ b/setup/db/db/schema-4930to41000-cleanup.sql @@ -20,3 +20,5 @@ --; DELETE FROM `cloud`.`configuration` WHERE name='consoleproxy.loadscan.interval'; + +DELETE FROM `cloud`.`host_details` where name = 'vmName' and value in (select name from `cloud`.`vm_instance` where state = 'Expunging' and hypervisor_type ='BareMetal');