mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5214: create vm_snapshots if it does not exist
This commit is contained in:
parent
1190abd4ca
commit
8a68cd7e51
|
|
@ -680,7 +680,7 @@ ALTER TABLE `cloud`.`user_vm` MODIFY user_data TEXT(32768);
|
|||
|
||||
-- END: support for LXC
|
||||
|
||||
CREATE TABLE `cloud`.`vm_snapshots` (
|
||||
CREATE TABLE IF NOT EXISTS `cloud`.`vm_snapshots` (
|
||||
`id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Primary Key',
|
||||
`uuid` varchar(40) NOT NULL,
|
||||
`name` varchar(255) NOT NULL,
|
||||
|
|
@ -2181,4 +2181,4 @@ CREATE VIEW `cloud`.`data_center_view` AS
|
|||
|
||||
|
||||
|
||||
UPDATE `cloud`.`ntwk_offering_service_map` SET Provider='VpcVirtualRouter' WHERE network_offering_id IN (SELECT id from `cloud`.`network_offerings` WHERE name IN ('DefaultIsolatedNetworkOfferingForVpcNetworks', 'DefaultIsolatedNetworkOfferingForVpcNetworksNoLB'));
|
||||
UPDATE `cloud`.`ntwk_offering_service_map` SET Provider='VpcVirtualRouter' WHERE network_offering_id IN (SELECT id from `cloud`.`network_offerings` WHERE name IN ('DefaultIsolatedNetworkOfferingForVpcNetworks', 'DefaultIsolatedNetworkOfferingForVpcNetworksNoLB'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue