From 7675ac85744a33f9f82aa5ee11509501a1606036 Mon Sep 17 00:00:00 2001 From: gmc Date: Mon, 13 Sep 2010 21:30:26 +0000 Subject: [PATCH] add cat.default_classification_scheme OU setting type to DB For benefit of those tracking trunk. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@17643 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...g-setting-cat.default_classification_scheme.sql | 24 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index a376efc58..ef70209e5 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log ( 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, diff --git a/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql b/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql new file mode 100644 index 000000000..178b2ffb1 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql @@ -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; -- 2.11.0