From: Jane Sandberg Date: Fri, 30 Sep 2022 01:15:15 +0000 (-0700) Subject: LP#1980867: stamp upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a06f65b6ed6eaa3e0cfb4f1e88a93910c3d8630e;p=evergreen%2Ftadl.git LP#1980867: stamp upgrade script Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 0722cf34ce..b8a1492a60 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 ('1330', :eg_version); -- berick/gcollum/sandbergja +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1331', :eg_version); -- jdavis/gmonti/sandbergja CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql new file mode 100644 index 0000000000..c4fb99a5bd --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql @@ -0,0 +1,24 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1331', :eg_version); + +INSERT into config.org_unit_setting_type + (name, datatype, grp, label, description) +VALUES ( + 'ui.staff.traditional_catalog.enabled', 'bool', 'gui', + oils_i18n_gettext( + 'ui.staff.traditional_catalog.enabled', + 'GUI: Enable Traditional Staff Catalog', + 'coust', 'label' + ), + oils_i18n_gettext( + 'ui.staff.traditional_catalog.enabled', + 'Display an entry point in the browser client for the ' || + 'traditional staff catalog.', + 'coust', 'description' + ) +); + +COMMIT; + + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql deleted file mode 100644 index 3573f1afdc..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql +++ /dev/null @@ -1,24 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT into config.org_unit_setting_type - (name, datatype, grp, label, description) -VALUES ( - 'ui.staff.traditional_catalog.enabled', 'bool', 'gui', - oils_i18n_gettext( - 'ui.staff.traditional_catalog.enabled', - 'GUI: Enable Traditional Staff Catalog', - 'coust', 'label' - ), - oils_i18n_gettext( - 'ui.staff.traditional_catalog.enabled', - 'Display an entry point in the browser client for the ' || - 'traditional staff catalog.', - 'coust', 'description' - ) -); - -COMMIT; - -