mirror of https://github.com/apache/cloudstack.git
Fixed db upgrade for security_group_rules table - at the moment when indexes are dropped, the table is already renamed
This commit is contained in:
parent
ba1f21c29e
commit
ff93f7ec54
|
|
@ -6,10 +6,10 @@ ALTER TABLE `cloud_usage`.`usage_network` DROP COLUMN `current_bytes_received`;
|
|||
ALTER TABLE `cloud_usage`.`usage_network` DROP COLUMN `current_bytes_sent`;
|
||||
ALTER TABLE `cloud`.`vm_instance` DROP COLUMN `private_netmask`;
|
||||
|
||||
ALTER TABLE `cloud`.`security_ingress_rule` drop foreign key `fk_security_ingress_rule___security_group_id`;
|
||||
ALTER TABLE `cloud`.`security_ingress_rule` drop foreign key `fk_security_ingress_rule___allowed_network_id`;
|
||||
ALTER TABLE `cloud`.`security_ingress_rule` drop index `i_security_ingress_rule_network_id`;
|
||||
ALTER TABLE `cloud`.`security_ingress_rule` drop index `i_security_ingress_rule_allowed_network`;
|
||||
ALTER TABLE `cloud`.`security_group_rule` drop foreign key `fk_security_ingress_rule___security_group_id`;
|
||||
ALTER TABLE `cloud`.`security_group_rule` drop foreign key `fk_security_ingress_rule___allowed_network_id`;
|
||||
ALTER TABLE `cloud`.`security_group_rule` drop index `i_security_ingress_rule_network_id`;
|
||||
ALTER TABLE `cloud`.`security_group_rule` drop index `i_security_ingress_rule_allowed_network`;
|
||||
ALTER TABLE `cloud`.`host` DROP COLUMN `allocation_state`;
|
||||
|
||||
ALTER TABLE `cloud`.`data_center` DROP COLUMN `vnet`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue