]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0394.data.org-setting-cat.default_classification_scheme.sql
LP#1426133: Set merge_profile_id_seq explicitly
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0394.data.org-setting-cat.default_classification_scheme.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0394'); -- gmc
4
5 INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
6 SELECT DISTINCT
7     'cat.default_classification_scheme',
8     oils_i18n_gettext(
9         'cat.default_classification_scheme',
10         'Cataloging: Default Classification Scheme',
11         'coust',
12         'label'
13     ),
14     oils_i18n_gettext(
15         'cat.default_classification_scheme',
16         'Defines the default classification scheme for new call numbers: 1 = Generic; 2 = Dewey; 3 = LC',
17         'coust',
18         'descripton'
19         ),
20     'link',
21     'acnc'
22 FROM config.org_unit_setting_type
23 WHERE NOT EXISTS (SELECT 1 FROM config.org_unit_setting_type WHERE name = 'cat.default_classification_scheme');
24
25 COMMIT;