Signed-off-by: Ben Shum <bshum@biblio.org>
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 ('0763', :eg_version); -- jeff/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0764', :eg_version); -- gmcharlt/berick/bshum
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0764', :eg_version);
+
+UPDATE config.z3950_source
+ SET host = 'lx2.loc.gov', port = 210, db = 'LCDB'
+ WHERE name = 'loc'
+ AND host = 'z3950.loc.gov'
+ AND port = 7090
+ AND db = 'Voyager';
+
+UPDATE config.z3950_attr
+ SET format = 6
+ WHERE source = 'loc'
+ AND name = 'lccn'
+ AND format = 1;
+
+COMMIT;
+
+++ /dev/null
-
-BEGIN;
-
-UPDATE config.z3950_source
- SET host = 'lx2.loc.gov', port = 210, db = 'LCDB'
- WHERE name = 'loc'
- AND host = 'z3950.loc.gov'
- AND port = 7090
- AND db = 'Voyager';
-
-UPDATE config.z3950_attr
- SET format = 6
- WHERE source = 'loc'
- AND name = 'lccn'
- AND format = 1;
-
-COMMIT;
-