From c72527a7475e95106cc26371fcab02294715615b Mon Sep 17 00:00:00 2001 From: anthony Date: Fri, 17 Dec 2010 13:48:36 -0800 Subject: [PATCH] add DB migration for cluster.type --- setup/db/schema-21to22.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/schema-21to22.sql b/setup/db/schema-21to22.sql index c44f43e0a57..35aa0318af3 100644 --- a/setup/db/schema-21to22.sql +++ b/setup/db/schema-21to22.sql @@ -7,6 +7,8 @@ ALTER TABLE `cloud`.`template_host_ref` ADD COLUMN `physical_size` bigint unsign ALTER TABLE `cloud`.`snapshots` MODIFY COLUMN `id` bigint unsigned UNIQUE NOT NULL ALTER TABLE `cloud`.`vm_instance` DROP COLUMN `group` ALTER TABLE `cloud`.`cluster` ADD COLUMN `guid` varchar(255) UNIQUE DEFAULT NULL +ALTER TABLE `cloud`.`cluster` ADD COLUMN `cluster_type` varchar(64) DEFAULT 'CloudManaged' + -- NOTE for tables below