Updated Branches: refs/heads/4.2 1190abd4c -> 8a68cd7e5
CLOUDSTACK-5214: create vm_snapshots if it does not exist Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8a68cd7e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8a68cd7e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8a68cd7e Branch: refs/heads/4.2 Commit: 8a68cd7e51cceef9b30ba47d0c8b3ed705df630e Parents: 1190abd Author: Abhinandan Prateek <[email protected]> Authored: Mon Dec 9 10:02:03 2013 +0530 Committer: Abhinandan Prateek <[email protected]> Committed: Mon Dec 9 10:02:03 2013 +0530 ---------------------------------------------------------------------- setup/db/db/schema-410to420.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8a68cd7e/setup/db/db/schema-410to420.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql index d9560fd..f44ba96 100644 --- a/setup/db/db/schema-410to420.sql +++ b/setup/db/db/schema-410to420.sql @@ -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')); \ No newline at end of file +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'));
