From: Bill Erickson Date: Thu, 28 Jan 2021 19:10:29 +0000 (-0500) Subject: LP1894131 DB Stamp: Sticky Holdings Org X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a8d4d1b5fda0350e426afdd6a9adcb0c9355b6c7;p=evergreen%2Fpines.git LP1894131 DB Stamp: Sticky Holdings Org Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index a78a2a063c..b949ff0da9 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 ('1242', :eg_version); -- remingtron/terranm +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1243', :eg_version); -- berick/ehardy CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql new file mode 100644 index 0000000000..e139f06b0a --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql @@ -0,0 +1,17 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1243', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, fm_class, label) +VALUES ( + 'eg.orgselect.catalog.holdings', 'gui', 'link', 'aou', + oils_i18n_gettext( + 'eg.orgselect.catalog.holdings', + 'Default org unit for catalog holdings tab', + 'cwst', 'label' + ) +); + +COMMIT; + + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql deleted file mode 100644 index cd61302743..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql +++ /dev/null @@ -1,17 +0,0 @@ -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, fm_class, label) -VALUES ( - 'eg.orgselect.catalog.holdings', 'gui', 'link', 'aou', - oils_i18n_gettext( - 'eg.orgselect.catalog.holdings', - 'Default org unit for catalog holdings tab', - 'cwst', 'label' - ) -); - -COMMIT; - -