install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0234'); -- phasefx
+INSERT INTO config.upgrade_log (version) VALUES ('0235'); -- berick
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
payment_method TEXT REFERENCES acq.invoice_payment_method (code)
DEFERRABLE INITIALLY DEFERRED,
note TEXT,
+ complete BOOL NOT NULL DEFAULT FALSE,
CONSTRAINT inv_ident_once_per_provider UNIQUE(provider, inv_ident)
);
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0235');
+
+ALTER TABLE acq.invoice
+ ADD COLUMN complete BOOL NOT NULL DEFAULT FALSE;
+
+COMMIT;