From: Galen Charlton Date: Thu, 23 Sep 2021 15:00:35 +0000 (-0400) Subject: LP#1759382: stamp schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f82a71f0e2039ac3822ae7c30b477b89db0605c;p=evergreen%2Ftadl.git LP#1759382: 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 61afa1e3f4..0c57c8dbf7 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 ('1296', :eg_version); -- csharp / rfrasur / gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1297', :eg_version); -- dbriem / gmonti / gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1297.data.staff_placed_holds_default_to_ws_ou.sql b/Open-ILS/src/sql/Pg/upgrade/1297.data.staff_placed_holds_default_to_ws_ou.sql new file mode 100644 index 0000000000..6df3983c80 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1297.data.staff_placed_holds_default_to_ws_ou.sql @@ -0,0 +1,25 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1297', :eg_version); + +INSERT INTO config.org_unit_setting_type ( + name, grp, label, description, datatype +) VALUES ( + 'circ.staff_placed_holds_default_to_ws_ou', + 'circ', + oils_i18n_gettext( + 'circ.staff_placed_holds_default_to_ws_ou', + 'Workstation OU is the default for staff-placed holds', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'circ.staff_placed_holds_default_to_ws_ou', + 'For staff-placed holds, regardless of the patron preferred pickup location, the staff workstation OU is the default pickup location', + 'coust', + 'description' + ), + 'bool' +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.staff_placed_holds_default_to_ws_ou.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.staff_placed_holds_default_to_ws_ou.sql deleted file mode 100644 index 86196f85c2..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.staff_placed_holds_default_to_ws_ou.sql +++ /dev/null @@ -1,25 +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 ( - 'circ.staff_placed_holds_default_to_ws_ou', - 'circ', - oils_i18n_gettext( - 'circ.staff_placed_holds_default_to_ws_ou', - 'Workstation OU is the default for staff-placed holds', - 'coust', - 'label' - ), - oils_i18n_gettext( - 'circ.staff_placed_holds_default_to_ws_ou', - 'For staff-placed holds, regardless of the patron preferred pickup location, the staff workstation OU is the default pickup location', - 'coust', - 'description' - ), - 'bool' -); - -COMMIT;