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 ('0774', :eg_version); -- berick/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0775', :eg_version); -- berick/miker
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
BEGIN;
-SELECT evergreen.upgrade_deps_block_check('0773', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0774', :eg_version);
CREATE TABLE config.z3950_source_credentials (
id SERIAL PRIMARY KEY,
--- /dev/null
+
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0775', :eg_version);
+
+ALTER TABLE config.z3950_attr
+ DROP CONSTRAINT z3950_attr_source_fkey,
+ ADD CONSTRAINT z3950_attr_source_fkey
+ FOREIGN KEY (source)
+ REFERENCES config.z3950_source(name)
+ ON UPDATE CASCADE
+ ON DELETE CASCADE
+ DEFERRABLE INITIALLY DEFERRED;
+
+COMMIT;
+++ /dev/null
-
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-ALTER TABLE config.z3950_attr
- DROP CONSTRAINT z3950_attr_source_fkey,
- ADD CONSTRAINT z3950_attr_source_fkey
- FOREIGN KEY (source)
- REFERENCES config.z3950_source(name)
- ON UPDATE CASCADE
- ON DELETE CASCADE
- DEFERRABLE INITIALLY DEFERRED;
-
-COMMIT;