Or unit setting acq.holds.allow_holds_from_purchase_request: Allows patrons to create...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Apr 2010 15:17:37 +0000 (15:17 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Apr 2010 15:17:37 +0000 (15:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16102 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql [new file with mode: 0644]

index d82e979..b612ca7 100644 (file)
@@ -60,7 +60,7 @@ CREATE TABLE config.upgrade_log (
     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,
index 98f4171..3ab2376 100644 (file)
@@ -3663,6 +3663,22 @@ INSERT INTO config.org_unit_setting_type (name, label, description, datatype) VA
     '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 (
diff --git a/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql b/Open-ILS/src/sql/Pg/upgrade/0227.data.org-setting-acq.holds.allow_holds_from_purchase_request.sql
new file mode 100644 (file)
index 0000000..17c6330
--- /dev/null
@@ -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;