LP1170795 Stamp Database Update
authorJason Boyer <JBoyer@equinoxOLI.org>
Wed, 8 Sep 2021 19:01:48 +0000 (15:01 -0400)
committerJason Boyer <JBoyer@equinoxOLI.org>
Wed, 8 Sep 2021 19:30:49 +0000 (15:30 -0400)
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1284.data.void_deposit_on_checkin.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.void_deposit_on_checkin.sql [deleted file]

index 20f1091..6857970 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 ('1283', :eg_version); -- rhamby/ehardy/jboyer
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1284', :eg_version); -- blake / terranm / jboyer
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1284.data.void_deposit_on_checkin.sql b/Open-ILS/src/sql/Pg/upgrade/1284.data.void_deposit_on_checkin.sql
new file mode 100644 (file)
index 0000000..4e0827e
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1284', :eg_version); -- blake / terranm / jboyer
+
+INSERT INTO config.org_unit_setting_type
+( name, grp, label, description, datatype, fm_class ) VALUES
+( 'circ.void_item_deposit', 'circ',
+    oils_i18n_gettext('circ.void_item_deposit',
+        'Void item deposit fee on checkin',
+        'coust', 'label'),
+    oils_i18n_gettext('circ.void_item_deposit',
+        'If a deposit was charged when checking out an item, void it when the item is returned',
+        'coust', 'description'),
+    'bool', null);
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.void_deposit_on_checkin.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.void_deposit_on_checkin.sql
deleted file mode 100755 (executable)
index d9329bf..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); -- blake / jboyer
-
-INSERT INTO config.org_unit_setting_type
-( name, grp, label, description, datatype, fm_class ) VALUES
-( 'circ.void_item_deposit', 'circ',
-    oils_i18n_gettext('circ.void_item_deposit',
-        'Void item deposit fee on checkin',
-        'coust', 'label'),
-    oils_i18n_gettext('circ.void_item_deposit',
-        'If a deposit was charged when checking out an item, void it when the item is returned',
-        'coust', 'description'),
-    'bool', null);
-
-COMMIT;
-