From: Galen Charlton Date: Tue, 22 Sep 2020 14:26:51 +0000 (-0400) Subject: LP#1885767: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6161c3b00d3e40bb2d183bbf1dbd909d3e259278;p=Evergreen.git LP#1885767: 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 c04a3b09b2..df03e859aa 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 ('1236', :eg_version); -- csharp/rhamby/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1237', :eg_version); -- berick/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1237.data.staffcat-exclude-electronic.sql b/Open-ILS/src/sql/Pg/upgrade/1237.data.staffcat-exclude-electronic.sql new file mode 100644 index 0000000000..a04a4adf55 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1237.data.staffcat-exclude-electronic.sql @@ -0,0 +1,17 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1237', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.staffcat.exclude_electronic', 'gui', 'bool', + oils_i18n_gettext( + 'eg.staffcat.exclude_electronic', + 'Staff Catalog "Exclude Electronic Resources" Option', + 'cwst', 'label' + ) +); + +COMMIT; + + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-exclude-electronic.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-exclude-electronic.sql deleted file mode 100644 index ebc840f6a4..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-exclude-electronic.sql +++ /dev/null @@ -1,17 +0,0 @@ -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.staffcat.exclude_electronic', 'gui', 'bool', - oils_i18n_gettext( - 'eg.staffcat.exclude_electronic', - 'Staff Catalog "Exclude Electronic Resources" Option', - 'cwst', 'label' - ) -); - -COMMIT; - -