Remove redundant database column domains.registered_at

Alias `Domain#registered_at` to `created_at`

Closes #1442
This commit is contained in:
Artur Beljajev 2019-12-17 03:55:13 +02:00 committed by Alex Sherman
parent bfa60a9c17
commit 41fee1d098
7 changed files with 16 additions and 7 deletions

View file

@ -778,7 +778,6 @@ CREATE TABLE public.domains (
id integer NOT NULL,
name character varying NOT NULL,
registrar_id integer NOT NULL,
registered_at timestamp without time zone,
valid_to timestamp without time zone NOT NULL,
registrant_id integer NOT NULL,
transfer_code character varying NOT NULL,
@ -4828,6 +4827,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20191203083643'),
('20191206183853'),
('20191212133136'),
('20191217013225'),
('20191219112434'),
('20191219124429'),
('20191227110904'),