From: Galen Charlton Date: Sun, 15 Aug 2021 23:58:38 +0000 (-0400) Subject: LP#1888723: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5e1f3c7c746f995e76cf3065c0248e069a18b979;p=evergreen%2Ftadl.git LP#1888723: 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 84c6325902..4e6cee2173 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 ('1280', :eg_version); -- miker/Dyrcona/amundson/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1281', :eg_version); -- berick/rfrasur/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql b/Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql new file mode 100644 index 0000000000..611926f2a4 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql @@ -0,0 +1,15 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1281', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.cat.volcopy.defaults', 'cat', 'object', + oils_i18n_gettext( + 'eg.cat.volcopy.defaults', + 'Holdings Editor Default Values and Visibility', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql deleted file mode 100644 index 741288aad8..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql +++ /dev/null @@ -1,15 +0,0 @@ -BEGIN; - ---SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.cat.volcopy.defaults', 'cat', 'object', - oils_i18n_gettext( - 'eg.cat.volcopy.defaults', - 'Holdings Editor Default Values and Visibility', - 'cwst', 'label' - ) -); - -COMMIT;