From 37a0c7f0d8f50df73a69913535f5df5c0c020ddc Mon Sep 17 00:00:00 2001 From: SneedBot Date: Fri, 14 Jul 2023 10:51:09 +0000 Subject: [PATCH] sneed --- schema.sql | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/schema.sql b/schema.sql index 1fe6c6eed..e4a6d5843 100644 --- a/schema.sql +++ b/schema.sql @@ -1780,6 +1780,13 @@ CREATE INDEX comment_parent_index ON public.comments USING btree (parent_comment CREATE INDEX comment_post_id_index ON public.comments USING btree (parent_post); +-- +-- Name: comments_author_id_created_utc_idx; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX comments_author_id_created_utc_idx ON public.comments USING btree (author_id, created_utc); + + -- -- Name: comments_author_id_id_idx; Type: INDEX; Schema: public; Owner: - -- @@ -1808,6 +1815,20 @@ CREATE INDEX comments_created_utc_asc_idx ON public.comments USING btree (create CREATE INDEX comments_created_utc_desc_idx ON public.comments USING btree (created_utc DESC); +-- +-- Name: comments_deleted_utc_idx; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX comments_deleted_utc_idx ON public.comments USING btree (deleted_utc); + + +-- +-- Name: comments_top_comment_id_idx; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX comments_top_comment_id_idx ON public.comments USING btree (top_comment_id); + + -- -- Name: comments_user_index; Type: INDEX; Schema: public; Owner: - -- @@ -2179,6 +2200,13 @@ CREATE INDEX post_new_sort_idx ON public.posts USING btree (is_banned, deleted_u CREATE INDEX post_over_18_idx ON public.posts USING btree (over_18); +-- +-- Name: posts_stickied_idx; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX posts_stickied_idx ON public.posts USING btree (stickied); + + -- -- Name: report_user_idx; Type: INDEX; Schema: public; Owner: - --