[open-ils-commits] r16102 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 2 11:17:39 EDT 2010
Author: phasefx
Date: 2010-04-02 11:17:37 -0400 (Fri, 02 Apr 2010)
New Revision: 16102
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Or unit setting acq.holds.allow_holds_from_purchase_request: Allows patrons to create automatic holds from purchase requests
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-02 15:15:58 UTC (rev 16101)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-02 15:17:37 UTC (rev 16102)
@@ -60,7 +60,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0226'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0227'); -- phasefx
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-04-02 15:15:58 UTC (rev 16101)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-04-02 15:17:37 UTC (rev 16102)
@@ -3663,6 +3663,22 @@
'bool'
);
+-- 0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES (
+ 'acq.holds.allow_holds_from_purchase_request',
+ oils_i18n_gettext(
+ 'acq.holds.allow_holds_from_purchase_request',
+ 'Allows patrons to create automatic holds from purchase requests.',
+ 'coust',
+ 'label'),
+ oils_i18n_gettext(
+ 'acq.holds.allow_holds_from_purchase_request',
+ 'Allows patrons to create automatic holds from purchase requests.',
+ 'coust',
+ 'description'),
+ 'bool'
+);
+
-- Hold cancel action/trigger hooks
INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql 2010-04-02 15:17:37 UTC (rev 16102)
@@ -0,0 +1,20 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0227'); -- phasefx
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES (
+ 'acq.holds.allow_holds_from_purchase_request',
+ oils_i18n_gettext(
+ 'acq.holds.allow_holds_from_purchase_request',
+ 'Allows patrons to create automatic holds from purchase requests.',
+ 'coust',
+ 'label'),
+ oils_i18n_gettext(
+ 'acq.holds.allow_holds_from_purchase_request',
+ 'Allows patrons to create automatic holds from purchase requests.',
+ 'coust',
+ 'description'),
+ 'bool'
+);
+
+COMMIT;
More information about the open-ils-commits
mailing list