LP#1987910: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 17:09:07 +0000 (12:09 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 17:10:09 +0000 (12:10 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1357.data.typo-global-flag-opac-located-uri-act-as-copy.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-global-flag-opac-located-uri-act-as-copy.sql [deleted file]

index fde785d..c21d8bf 100644 (file)
@@ -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 (file)
index 0000000..d7c0667
--- /dev/null
@@ -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 (file)
index f385ab4..0000000
+++ /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