[open-ils-commits] r17643 - in trunk/Open-ILS/src/sql/Pg: . upgrade (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 13 17:30:32 EDT 2010
Author: gmc
Date: 2010-09-13 17:30:26 -0400 (Mon, 13 Sep 2010)
New Revision: 17643
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
Log:
add cat.default_classification_scheme OU setting type to DB
For benefit of those tracking trunk.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-13 21:18:45 UTC (rev 17642)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-13 21:30:26 UTC (rev 17643)
@@ -68,7 +68,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0393'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0394'); -- gmc
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql 2010-09-13 21:30:26 UTC (rev 17643)
@@ -0,0 +1,24 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0394'); -- gmc
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
+VALUES (
+ 'cat.default_classification_scheme',
+ oils_i18n_gettext(
+ 'cat.default_classification_scheme',
+ 'Cataloging: Default Classification Scheme',
+ 'coust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'cat.default_classification_scheme',
+ 'Defines the default classification scheme for new call numbers: 1 = Generic; 2 = Dewey; 3 = LC',
+ 'coust',
+ 'descripton'
+ ),
+ 'link',
+ 'acnc'
+);
+
+COMMIT;
More information about the open-ils-commits
mailing list