Change domains.delete_at database column type to date, rename to

`delete_date`

Closes #1125
This commit is contained in:
Artur Beljajev 2019-03-28 17:36:38 +02:00
parent ab9c5c45de
commit cea834d5b7
31 changed files with 159 additions and 71 deletions

View file

@ -932,7 +932,7 @@ CREATE TABLE public.domains (
legacy_registrar_id integer,
legacy_registrant_id integer,
outzone_at timestamp without time zone,
delete_at timestamp without time zone,
delete_date date,
registrant_verification_asked_at timestamp without time zone,
registrant_verification_token character varying,
pending_json jsonb,
@ -3540,10 +3540,10 @@ CREATE INDEX index_domain_transfers_on_domain_id ON public.domain_transfers USIN
--
-- Name: index_domains_on_delete_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
-- Name: index_domains_on_delete_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_domains_on_delete_at ON public.domains USING btree (delete_at);
CREATE INDEX index_domains_on_delete_date ON public.domains USING btree (delete_date);
--
@ -4939,5 +4939,9 @@ INSERT INTO schema_migrations (version) VALUES ('20190322152123');
INSERT INTO schema_migrations (version) VALUES ('20190322152529');
INSERT INTO schema_migrations (version) VALUES ('20190328151516');
INSERT INTO schema_migrations (version) VALUES ('20190328151838');
INSERT INTO schema_migrations (version) VALUES ('20190415120246');