diff --git a/db/structure.sql b/db/structure.sql index b9adfc198..9869c8562 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'); +