[open-ils-commits] r14575 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 23 09:38:23 EDT 2009
Author: erickson
Date: 2009-10-23 09:38:21 -0400 (Fri, 23 Oct 2009)
New Revision: 14575
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0051.data.org-setting-uncancel-hold-reset.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 reset hold req time on uncancel
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-23 13:33:03 UTC (rev 14574)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-23 13:38:21 UTC (rev 14575)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0050'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0051'); -- 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-23 13:33:03 UTC (rev 14574)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-23 13:38:21 UTC (rev 14575)
@@ -2303,3 +2303,11 @@
'interval'
);
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.uncancel.reset_request_time',
+ 'Holds: Reset request time on un-cancel',
+ 'When a holds is uncanceled, reset the request time to push it to the end of the queue',
+ 'bool'
+ );
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0051.data.org-setting-uncancel-hold-reset.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0051.data.org-setting-uncancel-hold-reset.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0051.data.org-setting-uncancel-hold-reset.sql 2009-10-23 13:38:21 UTC (rev 14575)
@@ -0,0 +1,13 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0051');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.uncancel.reset_request_time',
+ 'Holds: Reset request time on un-cancel',
+ 'When a holds is uncanceled, reset the request time to push it to the end of the queue',
+ 'bool'
+ );
+
+COMMIT;
More information about the open-ils-commits
mailing list