LP#1987908: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 17:07:16 +0000 (12:07 -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/1356.data.typo-config-global-flag-history-money-age-with-circs-update.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-config-global-flag-history-money-age-with-circs-update.sql [deleted file]

index 7ee152c..fde785d 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 ('1355', :eg_version); -- berick/smorrison/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1356', :eg_version); -- gmonti/scottangel/mllewell/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1356.data.typo-config-global-flag-history-money-age-with-circs-update.sql b/Open-ILS/src/sql/Pg/upgrade/1356.data.typo-config-global-flag-history-money-age-with-circs-update.sql
new file mode 100644 (file)
index 0000000..27ee379
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1356', :eg_version);
+
+UPDATE config.global_flag
+SET label = 'Age billings and payments when circulations are aged.'
+WHERE name = 'history.money.age_with_circs'
+  AND label = 'Age billings and payments when cirulcations are aged.';
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-config-global-flag-history-money-age-with-circs-update.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-config-global-flag-history-money-age-with-circs-update.sql
deleted file mode 100644 (file)
index d4f415f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
-
-UPDATE config.global_flag
-SET label = 'Age billings and payments when circulations are aged.'
-WHERE name = 'history.money.age_with_circs'
-  AND label = 'Age billings and payments when cirulcations are aged.';
-
-COMMIT;