From: Galen Charlton Date: Wed, 10 Mar 2021 20:26:01 +0000 (-0500) Subject: LP#1861319: stamp schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1fc6ed0a30141dae931e038d8d782e521f715013;p=Evergreen.git LP#1861319: stamp schema 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 336c27ecf6..1581e3e80b 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 ('1250', :eg_version); -- miker/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1251', :eg_version); -- khuckins/Dyrcona/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1251.data.org-setting-circ-renew-expired.sql b/Open-ILS/src/sql/Pg/upgrade/1251.data.org-setting-circ-renew-expired.sql new file mode 100644 index 0000000000..e999244b6b --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1251.data.org-setting-circ-renew-expired.sql @@ -0,0 +1,24 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1251', :eg_version); + +INSERT INTO config.org_unit_setting_type + (grp, name, datatype, label, description) +VALUES ( + 'circ', + 'circ.renew.expired_patron_allow', 'bool', + oils_i18n_gettext( + 'circ.renew.expired_patron_allow', + 'Allow renewal request if renewal recipient privileges have expired', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'circ.renew.expired_patron_allow', + 'If enabled, users within the org unit who are expired may still renew items.', + 'coust', + 'description' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-renew-expired.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-renew-expired.sql deleted file mode 100644 index 21944438c4..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-renew-expired.sql +++ /dev/null @@ -1,24 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.org_unit_setting_type - (grp, name, datatype, label, description) -VALUES ( - 'circ', - 'circ.renew.expired_patron_allow', 'bool', - oils_i18n_gettext( - 'circ.renew.expired_patron_allow', - 'Allow renewal request if renewal recipient privileges have expired', - 'coust', - 'label' - ), - oils_i18n_gettext( - 'circ.renew.expired_patron_allow', - 'If enabled, users within the org unit who are expired may still renew items.', - 'coust', - 'description' - ) -); - -COMMIT;