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 ('1360', :eg_version); -- bshum / Dyrcona / JBoyer
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1361', :eg_version); -- miker / Dyrcona / gmcharlt
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('1361', :eg_version);
+
+INSERT INTO config.global_flag (name, value, enabled, label)
+VALUES (
+ 'opac.max_concurrent_search.query',
+ '20',
+ TRUE,
+ oils_i18n_gettext(
+ 'opac.max_concurrent_search.query',
+ 'Limit the number of global concurrent matching search queries',
+ 'cgf', 'label'
+ )
+);
+
+INSERT INTO config.global_flag (name, value, enabled, label)
+VALUES (
+ 'opac.max_concurrent_search.ip',
+ '0',
+ TRUE,
+ oils_i18n_gettext(
+ 'opac.max_concurrent_search.ip',
+ 'Limit the number of global concurrent searches per client IP address',
+ 'cgf', 'label'
+ )
+);
+
+COMMIT;
+
+++ /dev/null
-BEGIN;
-
--- check whether patch can be applied
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.global_flag (name, value, enabled, label)
-VALUES (
- 'opac.max_concurrent_search.query',
- '20',
- TRUE,
- oils_i18n_gettext(
- 'opac.max_concurrent_search.query',
- 'Limit the number of global concurrent matching search queries',
- 'cgf', 'label'
- )
-);
-
-INSERT INTO config.global_flag (name, value, enabled, label)
-VALUES (
- 'opac.max_concurrent_search.ip',
- '0',
- TRUE,
- oils_i18n_gettext(
- 'opac.max_concurrent_search.ip',
- 'Limit the number of global concurrent searches per client IP address',
- 'cgf', 'label'
- )
-);
-
-COMMIT;
-