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 ('0919', :eg_version); -- miker/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0920', :eg_version); -- miker/klussier
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0920', :eg_version);
+
+CREATE UNIQUE INDEX CONCURRENTLY
+ hold_request_capture_protect_idx ON action.hold_request (current_copy)
+ WHERE current_copy IS NOT NULL -- sometimes null in old/bad data
+ AND capture_time IS NOT NULL
+ AND cancel_time IS NULL
+ AND fulfillment_time IS NULL;
+
+COMMIT;
+
+++ /dev/null
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-CREATE UNIQUE INDEX CONCURRENTLY
- hold_request_capture_protect_idx ON action.hold_request (current_copy)
- WHERE current_copy IS NOT NULL -- sometimes null in old/bad data
- AND capture_time IS NOT NULL
- AND cancel_time IS NULL
- AND fulfillment_time IS NULL;
-
-COMMIT;
-