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 ('1289', :eg_version); -- rhamby / rfrasur / gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1290', :eg_version); -- tlittle / lstratton / gmcharlt
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1290', :eg_version);
+
+-- Add an active flag column
+
+ALTER TABLE acq.funding_source ADD COLUMN active BOOL;
+
+UPDATE acq.funding_source SET active = 't';
+
+ALTER TABLE acq.funding_source ALTER COLUMN active SET DEFAULT TRUE;
+ALTER TABLE acq.funding_source ALTER COLUMN active SET NOT NULL;
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
--- Add an active flag column
-
-ALTER TABLE acq.funding_source ADD COLUMN active BOOL;
-
-UPDATE acq.funding_source SET active = 't';
-
-ALTER TABLE acq.funding_source ALTER COLUMN active SET DEFAULT TRUE;
-ALTER TABLE acq.funding_source ALTER COLUMN active SET NOT NULL;
-
-COMMIT;