Make legal_documents.path database column NOT NULL

This commit is contained in:
Artur Beljajev 2019-12-19 13:26:17 +02:00 committed by Alex Sherman
parent 24ba00896e
commit 15a8a13a5d
3 changed files with 8 additions and 3 deletions

View file

@ -1074,7 +1074,7 @@ CREATE TABLE public.legal_documents (
documentable_type character varying,
created_at timestamp without time zone,
creator_str character varying,
path character varying,
path character varying NOT NULL,
checksum character varying
);
@ -4828,6 +4828,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20191203083643'),
('20191206183853'),
('20191212133136'),
('20191219112434'),
('20191227110904'),
('20200113091254'),
('20200115102202'),
@ -4849,5 +4850,3 @@ INSERT INTO "schema_migrations" (version) VALUES
('20200811074839'),
('20200812090409'),
('20200812125810');