From 1a74a11bc941cf33954c5ddcfbdae434fc4598a5 Mon Sep 17 00:00:00 2001 From: SneedBot Date: Wed, 14 Feb 2024 00:00:15 +0000 Subject: [PATCH] sneed --- schema.sql | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/schema.sql b/schema.sql index d89291b38..9b0dbcffb 100644 --- a/schema.sql +++ b/schema.sql @@ -450,7 +450,6 @@ CREATE TABLE public.comments ( slots_result character varying(36), blackjack_result character varying(860), treasure_amount character varying(10), - body_ts tsvector GENERATED ALWAYS AS (to_tsvector('english'::regconfig, (body)::text)) STORED, casino_game_id integer, chuddedfor character varying(50), wall_user_id integer, @@ -459,7 +458,8 @@ CREATE TABLE public.comments ( rainbowed boolean NOT NULL, queened boolean NOT NULL, sharpened boolean NOT NULL, - num_of_pinned_children integer NOT NULL + num_of_pinned_children integer NOT NULL, + body_ts tsvector GENERATED ALWAYS AS (to_tsvector('english'::regconfig, (body)::text)) STORED ); @@ -1741,13 +1741,6 @@ CREATE INDEX comments_body_ts_idx ON public.comments USING gin (body_ts); 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_deleted_utc_idx; Type: INDEX; Schema: public; Owner: - --