From: Jason Boyer Date: Wed, 8 Sep 2021 19:01:48 +0000 (-0400) Subject: LP1170795 Stamp Database Update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0597103dfbdebc997b3c1770bfcca9e7502dc6fd;p=evergreen%2Fmasslnc.git LP1170795 Stamp Database Update Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 20f10915a2..6857970f42 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 ('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 index 0000000000..4e0827e011 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1284.data.void_deposit_on_checkin.sql @@ -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 index d9329bfadd..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.void_deposit_on_checkin.sql +++ /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; -