LP1987908: Fixing typo in seed data for history.money.age_with_circs
authorScott Angel <scottangel@mobiusconsortium.org>
Tue, 6 Dec 2022 22:03:55 +0000 (16:03 -0600)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 17:10:09 +0000 (12:10 -0500)
Created upgrade sql script to accompany Gina's original commit.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/upgrade/xxxx.data.typo-config-global-flag-history-money-age-with-circs-update.sql [new file with mode: 0644]

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
new file mode 100644 (file)
index 0000000..d4f415f
--- /dev/null
@@ -0,0 +1,10 @@
+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;