Change domains.valid_to DB column to NOT NULL

#800
This commit is contained in:
Artur Beljajev 2018-03-31 23:31:40 +03:00
parent 5ef56e13e0
commit c675512b22
8 changed files with 14 additions and 6 deletions

View file

@ -873,7 +873,7 @@ CREATE TABLE domains (
registered_at timestamp without time zone,
status character varying,
valid_from timestamp without time zone,
valid_to timestamp without time zone,
valid_to timestamp without time zone NOT NULL,
registrant_id integer NOT NULL,
transfer_code character varying NOT NULL,
created_at timestamp without time zone,
@ -4695,3 +4695,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180309053921');
INSERT INTO schema_migrations (version) VALUES ('20180309054510');
INSERT INTO schema_migrations (version) VALUES ('20180331200125');