From: Galen Charlton Date: Mon, 20 Sep 2021 15:59:27 +0000 (-0400) Subject: LP#1922273: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c5e31dc67153345485c34399b694f06a1f6eff72;p=evergreen%2Fpines.git LP#1922273: stamp DB update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 16aa966575..9ec45f5ae6 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps 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 ('1285', :eg_version); -- phasefx / gcollum / miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1286', :eg_version); -- jeffdavis / terranm / gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql b/Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql new file mode 100644 index 0000000000..9ed94beb18 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql @@ -0,0 +1,22 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1286', :eg_version); + +INSERT INTO config.org_unit_setting_type +( name, grp, label, description, datatype ) +VALUES +( 'eg.staffcat.search_filters', 'gui', + oils_i18n_gettext( + 'eg.staffcat.search_filters', + 'Staff Catalog Search Filters', + 'coust', 'label'), + oils_i18n_gettext( + 'eg.staffcat.search_filters', + 'Array of advanced search filters to display, e.g. ["item_lang","audience","lit_form"]', + 'coust', 'description'), + 'array' ); + +COMMIT; + + + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql deleted file mode 100644 index ef1769480a..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql +++ /dev/null @@ -1,22 +0,0 @@ -BEGIN; - ---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.org_unit_setting_type -( name, grp, label, description, datatype ) -VALUES -( 'eg.staffcat.search_filters', 'gui', - oils_i18n_gettext( - 'eg.staffcat.search_filters', - 'Staff Catalog Search Filters', - 'coust', 'label'), - oils_i18n_gettext( - 'eg.staffcat.search_filters', - 'Array of advanced search filters to display, e.g. ["item_lang","audience","lit_form"]', - 'coust', 'description'), - 'array' ); - -COMMIT; - - -