BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0953', :eg_version); --miker/gmcharlt/kmlussier
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0954', :eg_version); --berick/jihpringle/kmlussier
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0954', :eg_version);
+
+ALTER TABLE acq.fund_debit
+ ADD COLUMN invoice_entry INTEGER
+ REFERENCES acq.invoice_entry (id)
+ ON DELETE SET NULL;
+
+CREATE INDEX fund_debit_invoice_entry_idx ON acq.fund_debit (invoice_entry);
+CREATE INDEX lineitem_detail_fund_debit_idx ON acq.lineitem_detail (fund_debit);
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-ALTER TABLE acq.fund_debit
- ADD COLUMN invoice_entry INTEGER
- REFERENCES acq.invoice_entry (id)
- ON DELETE SET NULL;
-
-CREATE INDEX fund_debit_invoice_entry_idx ON acq.fund_debit (invoice_entry);
-CREATE INDEX lineitem_detail_fund_debit_idx ON acq.lineitem_detail (fund_debit);
-
-COMMIT;