Add index to rlock email address (#3150)

We sometimes query by this. The table is very small but eh, just in case
This commit is contained in:
gbrodman
2026-07-17 03:47:53 +00:00
committed by GitHub
parent 2a04b9be9b
commit bf54a0d0c4
5 changed files with 81 additions and 40 deletions
@@ -2,8 +2,8 @@
-- PostgreSQL database dump
--
-- Dumped from database version 17.4
-- Dumped by pg_dump version 17.4
-- Dumped from database version 17.10
-- Dumped by pg_dump version 17.10
SET statement_timeout = 0;
SET lock_timeout = 0;
@@ -2611,6 +2611,13 @@ CREATE INDEX spec11threatmatch_registrar_id_idx ON public."Spec11ThreatMatch" US
CREATE INDEX spec11threatmatch_tld_idx ON public."Spec11ThreatMatch" USING btree (tld);
--
-- Name: user_registry_lock_email_address_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX user_registry_lock_email_address_idx ON public."User" USING hash (registry_lock_email_address);
--
-- Name: Domain fk2jc69qyg2tv9hhnmif6oa1cx1; Type: FK CONSTRAINT; Schema: public; Owner: -
--