Change invoices.issue_date database column to NOT NULL

Closes #1008
This commit is contained in:
Artur Beljajev 2019-03-15 19:31:51 +02:00
parent 6fa1ce9128
commit 30ea880211
6 changed files with 8 additions and 60 deletions

View file

@ -1082,7 +1082,7 @@ CREATE TABLE public.invoices (
total numeric(10,2) NOT NULL,
in_directo boolean DEFAULT false,
buyer_vat_no character varying,
issue_date date
issue_date date NOT NULL
);
@ -4934,6 +4934,8 @@ INSERT INTO schema_migrations (version) VALUES ('20190311111718');
INSERT INTO schema_migrations (version) VALUES ('20190312211614');
INSERT INTO schema_migrations (version) VALUES ('20190315172802');
INSERT INTO schema_migrations (version) VALUES ('20190319133036');
INSERT INTO schema_migrations (version) VALUES ('20190322152123');