mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9074: Move sql to 4.8.0 schema
This commit is contained in:
parent
0b20ed4074
commit
de23c94f33
|
|
@ -251,4 +251,3 @@ INSERT IGNORE INTO `cloud`.`hypervisor_capabilities` values (25,UUID(),'VMware',
|
|||
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'rhel7_64Guest', 245, utc_timestamp(), 0);
|
||||
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'VMware', '6.0', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='VMware' AND hypervisor_version='5.5' AND (guest_os_id NOT IN (1,2,3,4,62,63,64,65,156,157,221,222) AND guest_os_id NOT BETWEEN 121 AND 130);
|
||||
|
||||
ALTER TABLE `cloud`.`nicira_nvp_router_map` DROP INDEX `logicalrouter_uuid` ;
|
||||
|
|
|
|||
|
|
@ -18,3 +18,5 @@
|
|||
--;
|
||||
-- Schema upgrade from 4.7.1 to 4.8.0;
|
||||
--;
|
||||
|
||||
ALTER TABLE `cloud`.`nicira_nvp_router_map` DROP INDEX `logicalrouter_uuid` ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue