CC-4612: Create index for cc_schedule during upgrade to improve the performance when cc_schedule's getting bigger

- also create one during fresh install
This commit is contained in:
Martin Konecny 2012-10-22 17:29:26 -04:00
parent 5d3866ad51
commit 8b9b005708
2 changed files with 7 additions and 0 deletions

View file

@ -429,6 +429,8 @@ COMMENT ON TABLE "cc_schedule" IS '';
SET search_path TO public;
CREATE INDEX "cc_schedule_instance_id_idx" ON "cc_schedule" ("instance_id");
-----------------------------------------------------------------------------
-- cc_sess
-----------------------------------------------------------------------------