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 ('1140', :eg_version); -- dyrcona/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1141', :eg_version); -- khuckins/berick/jboyer
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1141', :eg_version);
+
+ALTER TABLE vandelay.session_tracker
+ ALTER COLUMN record_type TYPE TEXT,
+ ALTER COLUMN record_type SET DEFAULT 'bib'::TEXT;
+
+ALTER TABLE vandelay.session_tracker
+ ADD CONSTRAINT vand_tracker_valid_record_type
+ CHECK (record_type IN ('bib', 'authority'));
+
+COMMIT;
+
+++ /dev/null
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-ALTER TABLE vandelay.session_tracker
- ALTER COLUMN record_type TYPE TEXT,
- ALTER COLUMN record_type SET DEFAULT 'bib'::TEXT;
-
-ALTER TABLE vandelay.session_tracker
- ADD CONSTRAINT vand_tracker_valid_record_type
- CHECK (record_type IN ('bib', 'authority'));
-
-COMMIT;
-