Populate UUID column for new data introduced in 4.2.0.

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cf8ff0cc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cf8ff0cc
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cf8ff0cc

Branch: refs/heads/rbd-snap-clone
Commit: cf8ff0cc654e5da4cf7510b964b9ef6cd828c90b
Parents: a46b4d8
Author: Min Chen <[email protected]>
Authored: Thu May 23 15:43:14 2013 -0700
Committer: Min Chen <[email protected]>
Committed: Thu May 23 15:43:14 2013 -0700

----------------------------------------------------------------------
 setup/db/db/schema-410to420.sql |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cf8ff0cc/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index b548035..885eff4 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -353,8 +353,8 @@ ALTER TABLE `cloud`.`physical_network_traffic_types` ADD 
COLUMN `lxc_network_lab
  
 UPDATE configuration SET value='KVM,XenServer,VMware,BareMetal,Ovm,LXC' WHERE 
name='hypervisor.list';
  
-INSERT INTO `cloud`.`vm_template` (id, unique_name, name, public, created, 
type, hvm, bits, account_id, url, checksum, enable_password, display_text, 
format, guest_os_id, featured, cross_zones, hypervisor_type)
-     VALUES (10, 'routing-10', 'SystemVM Template (LXC)', 0, now(), 'SYSTEM', 
0, 64, 1, 
'http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2', 
'2755de1f9ef2ce4d6f2bee2efbb4da92', 0, 'SystemVM Template (LXC)', 'QCOW2', 15, 
0, 1, 'LXC');
+INSERT INTO `cloud`.`vm_template` (id, uuid, unique_name, name, public, 
created, type, hvm, bits, account_id, url, checksum, enable_password, 
display_text, format, guest_os_id, featured, cross_zones, hypervisor_type)
+     VALUES (10, UUID(), 'routing-10', 'SystemVM Template (LXC)', 0, now(), 
'SYSTEM', 0, 64, 1, 
'http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2', 
'2755de1f9ef2ce4d6f2bee2efbb4da92', 0, 'SystemVM Template (LXC)', 'QCOW2', 15, 
0, 1, 'LXC');
 
 ALTER TABLE `cloud`.`user_vm` MODIFY user_data TEXT(32768);
 

Reply via email to