patch from Lebbeous Fogle-Weekley to add an org setting for default shelf expire...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 3 Nov 2009 17:05:10 +0000 (17:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 3 Nov 2009 17:05:10 +0000 (17:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14741 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0066.data.circ-holds-dsei.sql [new file with mode: 0644]

index 20874d4..333a86c 100644 (file)
@@ -2329,6 +2329,14 @@ INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
         'bool'
     );
 
+INSERT INTO config.org_unit_setting_type (name, label, description, datatype)
+    VALUES (
+        'circ.holds.default_shelf_expire_interval',
+        'Default hold shelf expire interval',
+        '',
+        'interval'
+);
+
 
 -- Sample Pre-due Notice --
 
diff --git a/Open-ILS/src/sql/Pg/upgrade/0066.data.circ-holds-dsei.sql b/Open-ILS/src/sql/Pg/upgrade/0066.data.circ-holds-dsei.sql
new file mode 100644 (file)
index 0000000..4a0b8f9
--- /dev/null
@@ -0,0 +1,12 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0066');
+
+INSERT INTO config.org_unit_setting_type (name, label, description, datatype)
+    VALUES ('circ.holds.default_shelf_expire_interval',
+            'Default hold shelf expire interval',
+            '',
+            'interval');
+
+COMMIT;
+