master
SneedBot 2023-11-26 00:00:13 +00:00
parent fc6c7c7255
commit d98cc398ce
1 changed files with 24 additions and 1 deletions

View File

@ -178,7 +178,8 @@ CREATE TABLE public.users (
lifetimedonated integer NOT NULL,
lifetimedonated_visible boolean NOT NULL,
jumpscare integer DEFAULT 0 NOT NULL,
zombie integer DEFAULT 0 NOT NULL
zombie integer DEFAULT 0 NOT NULL,
extra_username character varying(30)
);
@ -1550,6 +1551,14 @@ ALTER TABLE ONLY public.usermutes
ADD CONSTRAINT usermutes_pkey PRIMARY KEY (user_id, target_id);
--
-- Name: users users_extra_username_key; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_extra_username_key UNIQUE (extra_username);
--
-- Name: users users_original_username_key; Type: CONSTRAINT; Schema: public; Owner: -
--
@ -1955,6 +1964,13 @@ CREATE INDEX follow_user_id_index ON public.follows USING btree (user_id);
CREATE INDEX hat_defs_submitter_id_idx ON public.hat_defs USING btree (submitter_id);
--
-- Name: lowercase_extra_username; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX lowercase_extra_username ON public.users USING btree (lower((extra_username)::text));
--
-- Name: lowercase_original_username; Type: INDEX; Schema: public; Owner: -
--
@ -2207,6 +2223,13 @@ CREATE INDEX users_earlylife_idx ON public.users USING btree (earlylife);
CREATE INDEX users_edgified_idx ON public.users USING btree (sharpen);
--
-- Name: users_extra_username_trgm_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX users_extra_username_trgm_idx ON public.users USING gin (extra_username public.gin_trgm_ops);
--
-- Name: users_flairchanged_idx; Type: INDEX; Schema: public; Owner: -
--