mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Revert "WIP Interim save"
This reverts commit 74efab33be5f52d622a96e0967e694b3c5f617dc.
This commit is contained in:
parent
7d3f0249dc
commit
6675dac63d
6 changed files with 60 additions and 74 deletions
|
@ -65,17 +65,6 @@ CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public;
|
|||
COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions';
|
||||
|
||||
|
||||
--
|
||||
-- Name: email_verification_type; Type: TYPE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TYPE public.email_verification_type AS ENUM (
|
||||
'regex',
|
||||
'mx',
|
||||
'smtp'
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: generate_zonefile(character varying); Type: FUNCTION; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -974,12 +963,10 @@ ALTER SEQUENCE public.domains_id_seq OWNED BY public.domains.id;
|
|||
|
||||
CREATE TABLE public.email_address_verifications (
|
||||
id bigint NOT NULL,
|
||||
email public.citext NOT NULL,
|
||||
verified_at timestamp without time zone,
|
||||
email_verifable_type character varying,
|
||||
email_verifable_id bigint,
|
||||
result jsonb,
|
||||
times_scanned integer,
|
||||
type public.email_verification_type
|
||||
success boolean DEFAULT false NOT NULL,
|
||||
domain public.citext NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -4049,10 +4036,10 @@ CREATE INDEX index_domains_on_statuses ON public.domains USING gin (statuses);
|
|||
|
||||
|
||||
--
|
||||
-- Name: index_email_address_verifications_on_email_verifable; Type: INDEX; Schema: public; Owner: -
|
||||
-- Name: index_email_address_verifications_on_domain; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX index_email_address_verifications_on_email_verifable ON public.email_address_verifications USING btree (email_verifable_type, email_verifable_id);
|
||||
CREATE INDEX index_email_address_verifications_on_domain ON public.email_address_verifications USING btree (domain);
|
||||
|
||||
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue