From: Mike Rylander Date: Fri, 25 Mar 2022 21:03:06 +0000 (-0400) Subject: Stamping upgrade script for JQuery YAOUS X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3863ed4177da51362969ca4c99d421a2afdf135c;p=evergreen%2Fmasslnc.git Stamping upgrade script for JQuery YAOUS Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 477859966d..80c38eab37 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 ('1321', :eg_version); -- Dyrcona/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1322', :eg_version); -- rhamby/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql b/Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql new file mode 100644 index 0000000000..05c6565212 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql @@ -0,0 +1,16 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1322', :eg_version); + +INSERT into config.org_unit_setting_type +( name, grp, label, description, datatype, fm_class ) VALUES +( 'opac.patron.custom_jquery', 'opac', + oils_i18n_gettext('opac.patron.custom_jquery', + 'Custom jQuery for the OPAC', + 'coust', 'label'), + oils_i18n_gettext('opac.patron.custom_jquery', + 'Custom jQuery for the OPAC', + 'coust', 'description'), + 'string', NULL); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql deleted file mode 100644 index 28fe4785ba..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql +++ /dev/null @@ -1,16 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); - -INSERT into config.org_unit_setting_type -( name, grp, label, description, datatype, fm_class ) VALUES -( 'opac.patron.custom_jquery', 'opac', - oils_i18n_gettext('opac.patron.custom_jquery', - 'Custom jQuery for the OPAC', - 'coust', 'label'), - oils_i18n_gettext('opac.patron.custom_jquery', - 'Custom jQuery for the OPAC', - 'coust', 'description'), - 'string', NULL); - -COMMIT;