From cf8dcaa072fd482d70b0d43bf4e1ae39f1f2570b Mon Sep 17 00:00:00 2001 From: Nitin Mehta Date: Thu, 2 Feb 2012 18:45:04 +0530 Subject: [PATCH] Bug 13423: Upgrade 2213 to 2214 add the snapshot index since it was introduced for 2214. Reviewed-By: Kishan --- setup/db/db/schema-2213to2214.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/db/db/schema-2213to2214.sql b/setup/db/db/schema-2213to2214.sql index 3b6dca28215..d964a6828ba 100644 --- a/setup/db/db/schema-2213to2214.sql +++ b/setup/db/db/schema-2213to2214.sql @@ -3,6 +3,7 @@ --; ALTER TABLE `cloud`.`vm_template` MODIFY `extractable` int(1) unsigned NOT NULL default 0 COMMENT 'Is this template extractable'; +ALTER TABLE `cloud`.`snapshots` ADD INDEX `i_snapshots__removed`(`removed`); INSERT INTO configuration (category, instance, component, name, value, description) VALUES ('Advanced', 'DEFAULT', 'management-server', 'external.network.stats.interval', '300', 'Interval (in seconds) to report external network statistics.'); CREATE TABLE `cloud`.`mshost_peer` (