Change contacts.email to NOT NULL

This commit is contained in:
Artur Beljajev 2018-08-16 15:43:22 +03:00
parent 646fb76007
commit 6ebb77fb5c
4 changed files with 12 additions and 5 deletions

View file

@ -613,7 +613,7 @@ CREATE TABLE public.contacts (
id integer NOT NULL,
code character varying NOT NULL,
phone character varying,
email character varying,
email character varying NOT NULL,
fax character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone,
@ -4757,3 +4757,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180613030330');
INSERT INTO schema_migrations (version) VALUES ('20180613045614');
INSERT INTO schema_migrations (version) VALUES ('20180816123540');