dodil/erp-brick-ar

DODIL ERP brick: accounts receivable

src/brick_ar/migrations/00006_v7/up.sql

-- 00006_v7 (v0.1.5): spec v7: the quantity in the pricing unit and whether the net is the caller's exact one (a line's pricing conditions). ADD COLUMN is DISRUPTIVE: migrate the test copy first, the live one at a quiet hour.

ALTER TABLE ar_invoice_lines ADD COLUMN quantity_priced NUMERIC(19,4);

ALTER TABLE ar_invoice_lines ADD COLUMN net_given BOOLEAN;