structure.sql: add forum topics (is_sticky, updated_at) index.

This commit is contained in:
evazion 2017-05-19 17:07:15 -05:00
parent a4220854a3
commit a8c1b0bc62

View File

@ -6598,6 +6598,13 @@ CREATE INDEX index_forum_topic_visits_on_user_id ON forum_topic_visits USING btr
CREATE INDEX index_forum_topics_on_creator_id ON forum_topics USING btree (creator_id);
--
-- Name: index_forum_topics_on_is_sticky_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_forum_topics_on_is_sticky_and_updated_at ON forum_topics USING btree (is_sticky, updated_at);
--
-- Name: index_forum_topics_on_text_index; Type: INDEX; Schema: public; Owner: -
--
@ -7536,3 +7543,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170428220448');
INSERT INTO schema_migrations (version) VALUES ('20170512221200');
INSERT INTO schema_migrations (version) VALUES ('20170515235205');