From: Galen Charlton Date: Wed, 1 Mar 2023 17:09:07 +0000 (-0500) Subject: LP#1987910: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=73d07b9e681b6cd48573d7b5d2eed64d7d0327e2;p=evergreen%2Ftadl.git LP#1987910: 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 fde785db76..c21d8bf57a 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 ('1356', :eg_version); -- gmonti/scottangel/mllewell/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1357', :eg_version); -- gmonti/scottangel/mllewell/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1357.data.typo-global-flag-opac-located-uri-act-as-copy.sql b/Open-ILS/src/sql/Pg/upgrade/1357.data.typo-global-flag-opac-located-uri-act-as-copy.sql new file mode 100644 index 0000000000..d7c0667489 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1357.data.typo-global-flag-opac-located-uri-act-as-copy.sql @@ -0,0 +1,11 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1357', :eg_version); + +UPDATE config.global_flag +SET label = 'When enabled, Located URIs will provide visibility behavior identical to copies.' +WHERE name = 'opac.located_uri.act_as_copy' + AND label = + 'When enabled, Located URIs will provide visiblity behavior identical to copies.'; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql deleted file mode 100644 index f385ab4f98..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql +++ /dev/null @@ -1,11 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); - -UPDATE config.global_flag -SET label = 'When enabled, Located URIs will provide visibility behavior identical to copies.' -WHERE name = 'opac.located_uri.act_as_copy' - AND label = - 'When enabled, Located URIs will provide visiblity behavior identical to copies.'; - -COMMIT; \ No newline at end of file