Require invoices.total

#623
This commit is contained in:
Artur Beljajev 2018-03-13 14:49:36 +02:00
parent 9a4380fd96
commit fb35ec5cbb
2 changed files with 8 additions and 1 deletions

View file

@ -1036,7 +1036,7 @@ CREATE TABLE invoices (
updator_str character varying,
number integer,
cancelled_at timestamp without time zone,
total numeric(10,2),
total numeric(10,2) NOT NULL,
in_directo boolean DEFAULT false
);
@ -4716,3 +4716,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180310142630');
INSERT INTO schema_migrations (version) VALUES ('20180313090437');
INSERT INTO schema_migrations (version) VALUES ('20180313124751');