From eb39116789b3a272922b8741a12f162c25a51f49 Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Fri, 10 May 2013 16:03:31 -0700 Subject: [PATCH] Renaming the index on op_host_planner_reservation --- setup/db/db/schema-410to420.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql index 65ddaaa1284..86124ea9c63 100644 --- a/setup/db/db/schema-410to420.sql +++ b/setup/db/db/schema-410to420.sql @@ -928,7 +928,7 @@ CREATE TABLE `cloud`.`op_host_planner_reservation` ( `host_id` bigint unsigned, `resource_usage` varchar(255) COMMENT 'Shared(between planners) Vs Dedicated (exclusive usage to a planner)', PRIMARY KEY (`id`), - INDEX `i_op_host_planner_reservation__host_type`(`host_id`, `resource_type`), + INDEX `i_op_host_planner_reservation__host_resource_usage`(`host_id`, `resource_usage`), CONSTRAINT `fk_planner_reservation__host_id` FOREIGN KEY (`host_id`) REFERENCES `host`(`id`) ON DELETE CASCADE, CONSTRAINT `fk_planner_reservation__data_center_id` FOREIGN KEY (`data_center_id`) REFERENCES `cloud`.`data_center`(`id`) ON DELETE CASCADE, CONSTRAINT `fk_planner_reservation__pod_id` FOREIGN KEY (`pod_id`) REFERENCES `cloud`.`host_pod_ref`(`id`) ON DELETE CASCADE,