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

- fixed
This commit is contained in:
James 2012-10-22 15:35:01 -04:00
parent e80328dd57
commit b7b849a48f
1 changed files with 6 additions and 0 deletions

View File

@ -140,6 +140,12 @@ ALTER TABLE cc_playlistcontents
ALTER TABLE cc_schedule
ADD COLUMN stream_id integer;
CREATE INDEX cc_schedule_instance_id_idx
ON cc_schedule
USING btree
(instance_id);
ALTER TABLE cc_subjs
ADD COLUMN cell_phone character varying(255);