forked from MarseyWorld/MarseyWorld
sneed
parent
1088e38f34
commit
4381116994
14
schema.sql
14
schema.sql
|
@ -1484,6 +1484,20 @@ CREATE INDEX flag_user_idx ON public.flags USING btree (user_id);
|
|||
CREATE INDEX follow_user_id_index ON public.follows USING btree (user_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: lowercase_original_username; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE UNIQUE INDEX lowercase_original_username ON public.users USING btree (lower((original_username)::text));
|
||||
|
||||
|
||||
--
|
||||
-- Name: lowercase_username; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE UNIQUE INDEX lowercase_username ON public.users USING btree (lower((username)::text));
|
||||
|
||||
|
||||
--
|
||||
-- Name: marseys_idx; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue