From 4c075774a3fcdfbfc76c76ee4d11d3361443d298 Mon Sep 17 00:00:00 2001 From: alena Date: Fri, 8 Jul 2011 09:19:05 -0700 Subject: [PATCH] Revert "bug 10651: added unique_name to network_offerings for 227->228" This reverts commit 5537e65129f669da7ca9a22e53cc3daa9e69ac97. Reverting the fix because only the unique key was missing; the column was inserted as a part of 225 to 226 upgrade --- setup/db/db/schema-227to228.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup/db/db/schema-227to228.sql b/setup/db/db/schema-227to228.sql index 2e86ac47259..b9f74dc72c8 100644 --- a/setup/db/db/schema-227to228.sql +++ b/setup/db/db/schema-227to228.sql @@ -9,10 +9,6 @@ ALTER TABLE `cloud`.`service_offering` ADD COLUMN `limit_cpu_use` tinyint(1) NOT ALTER TABLE `cloud`.`service_offering` ADD COLUMN `default_use` tinyint(1) NOT NULL DEFAULT 0 ; ALTER TABLE `cloud`.`service_offering` ADD COLUMN `vm_type` varchar(32) COMMENT 'type of offering specified for system offerings'; ALTER TABLE `cloud`.`storage_pool` MODIFY `host_address` varchar(255) NOT NULL; -ALTER TABLE `cloud`.`network_offerings` ADD COLUMN `unique_name` varchar(64) NOT NULL COMMENT 'unique name of the network offering'; -UPDATE `cloud`.`network_offerings` SET unique_name=name; -ALTER TABLE `cloud`.`network_offerings` MODIFY `unique_name` varchar(64) NOT NULL UNIQUE COMMENT 'unique name of the network offering'; - DROP TABLE IF EXISTS `cloud`.`certificate`; CREATE TABLE IF NOT EXISTS `cloud`.`keystore` (