[open-ils-commits] r14555 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 22 09:30:56 EDT 2009
Author: erickson
Date: 2009-10-22 09:30:54 -0400 (Thu, 22 Oct 2009)
New Revision: 14555
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0048.data.org-setting-damaged-void-overdue.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
org setting to enable void-overdues-on-mark-item-damaged
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-22 07:09:54 UTC (rev 14554)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-22 13:30:54 UTC (rev 14555)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0047'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0048'); -- berick
CREATE TABLE config.bib_source (
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-22 07:09:54 UTC (rev 14554)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-22 13:30:54 UTC (rev 14555)
@@ -2276,3 +2276,13 @@
'bool'
);
+-- mark damaged void overdue setting
+INSERT INTO
+ config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.damaged.void_ovedue',
+ 'Mark item damaged voids overdues',
+ 'When an item is marked damaged, overdue fines on the most recent circulation are voided.',
+ 'bool'
+ );
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0048.data.org-setting-damaged-void-overdue.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0048.data.org-setting-damaged-void-overdue.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0048.data.org-setting-damaged-void-overdue.sql 2009-10-22 13:30:54 UTC (rev 14555)
@@ -0,0 +1,14 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0048');
+
+INSERT INTO
+ config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.damaged.void_ovedue',
+ 'Mark item damaged voids overdues',
+ 'When an item is marked damaged, overdue fines on the most recent circulation are voided.',
+ 'bool'
+ );
+
+COMMIT;
More information about the open-ils-commits
mailing list