pull/96/head
SneedBot 2023-01-24 12:00:08 +00:00
parent b1b7393f11
commit da5b89b30c
1 changed files with 21 additions and 0 deletions

View File

@ -1654,6 +1654,13 @@ CREATE INDEX cflag_user_idx ON public.commentflags USING btree (user_id);
CREATE INDEX comment_is_banned_idx ON public.comments USING btree (is_banned);
--
-- Name: comment_new_sort_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX comment_new_sort_idx ON public.comments USING btree (is_banned, deleted_utc, created_utc DESC, over_18);
--
-- Name: comment_parent_index; Type: INDEX; Schema: public; Owner: -
--
@ -1675,6 +1682,20 @@ CREATE INDEX comment_post_id_index ON public.comments USING btree (parent_submis
CREATE INDEX comments_body_ts_idx ON public.comments USING gin (body_ts);
--
-- Name: comments_created_utc_asc_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX comments_created_utc_asc_idx ON public.comments USING btree (created_utc NULLS FIRST);
--
-- Name: comments_created_utc_desc_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX comments_created_utc_desc_idx ON public.comments USING btree (created_utc DESC);
--
-- Name: comments_user_index; Type: INDEX; Schema: public; Owner: -
--