[open-ils-commits] r17069 - in trunk/Open-ILS/src/sql/Pg: . upgrade (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 3 16:45:50 EDT 2010


Author: scottmk
Date: 2010-08-03 16:45:45 -0400 (Tue, 03 Aug 2010)
New Revision: 17069

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
Modified:
   trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
New org unit setting type: serial.prev_issuance_copy_location

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql


Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-03 20:21:56 UTC (rev 17068)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-03 20:45:45 UTC (rev 17069)
@@ -68,7 +68,7 @@
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0358'); -- atz
+INSERT INTO config.upgrade_log (version) VALUES ('0359'); -- Scott McKellar
 
 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-08-03 20:21:56 UTC (rev 17068)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-08-03 20:45:45 UTC (rev 17069)
@@ -6434,6 +6434,27 @@
         'array'
     );
 
+-- 0359.data.setting-prev-iss-copy-loc.sql
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
+VALUES (
+    'serial.prev_issuance_copy_location',
+    oils_i18n_gettext(
+        'setting.name',
+        'Serials: Previous Issuance Copy Location',
+        'coust',
+        'label'
+    ),
+    oils_i18n_gettext(
+        'setting.name',
+        'When a serial issuance is received, copies (units) of the previous issuance will be automatically moved into the configured shelving location',
+        'coust',
+        'descripton'
+        ),
+    'link',
+    'acpl'
+);
+
 -- 0355.data.missing_pieces_format.sql
 
 INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES 

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql	2010-08-03 20:45:45 UTC (rev 17069)
@@ -0,0 +1,16 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0359'); -- Scott McKellar
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
+VALUES (
+    'serial.prev_issuance_copy_location',
+    oils_i18n_gettext('setting.name', 'Serials: Previous Issuance Copy Location',
+		'coust', 'label'),
+    oils_i18n_gettext('setting.name', 'When a serial issuance is received, copies (units) of the  previous issuance will be automatically moved into the configured shelving location',
+		'coust', 'descripton'),
+	'link',
+    'acpl'
+);
+
+COMMIT;



More information about the open-ils-commits mailing list