From 167377ab83174449783ee681a9128eed412c846f Mon Sep 17 00:00:00 2001 From: SneedBot Date: Wed, 28 Feb 2024 20:00:14 +0000 Subject: [PATCH] sneed --- schema.sql | 12 +++--------- seed-hats.sql | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/schema.sql b/schema.sql index 28e4fc80f..55323e409 100644 --- a/schema.sql +++ b/schema.sql @@ -459,8 +459,8 @@ CREATE TABLE public.comments ( queened boolean NOT NULL, sharpened boolean NOT NULL, num_of_pinned_children integer NOT NULL, - body_ts tsvector GENERATED ALWAYS AS (to_tsvector('simple'::regconfig, (body)::text)) STORED, - distinguished boolean NOT NULL + distinguished boolean NOT NULL, + body_ts tsvector GENERATED ALWAYS AS (to_tsvector('simple'::regconfig, (body)::text)) STORED ); @@ -1730,13 +1730,6 @@ CREATE INDEX comments_author_id_created_utc_idx ON public.comments USING btree ( CREATE INDEX comments_author_id_id_idx ON public.comments USING btree (author_id, id); --- --- Name: comments_body_ts_idx; Type: INDEX; Schema: public; Owner: - --- - -CREATE INDEX comments_body_ts_idx ON public.comments USING gin (body_ts); - - -- -- Name: comments_created_utc_asc_idx; Type: INDEX; Schema: public; Owner: - -- @@ -3074,3 +3067,4 @@ ALTER TABLE ONLY public.comments -- -- PostgreSQL database dump complete -- + diff --git a/seed-hats.sql b/seed-hats.sql index 2e3eba392..96ada6c22 100644 --- a/seed-hats.sql +++ b/seed-hats.sql @@ -1229,7 +1229,7 @@ INSERT INTO public.hat_defs VALUES (1489, 'Max HP', 'I''M FULL POWER!', 2, 500, INSERT INTO public.hat_defs VALUES (1493, 'Im You', 'Where you go I go, what you see I see.', 2, 500, NULL, 1708649038); INSERT INTO public.hat_defs VALUES (1497, 'Rubber Chicken', 'HOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONK', 2, 500, NULL, 1708649127); INSERT INTO public.hat_defs VALUES (1501, 'Pizza Hat', 'Don''t ask why there''s a pizza. Embrace that there is one.', 2, 500, NULL, 1708780629); - +INSERT INTO public.hat_defs VALUES (1502, 'Xoxo', 'Hugs and kisses!', 2, 500, NULL, 1709029514); --