]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1332.data.lp1981714_default_lid_owning_library_setting.sql
LP1942220: stamp upgrade scripts
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1332.data.lp1981714_default_lid_owning_library_setting.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1332', :eg_version);
4
5 INSERT into config.org_unit_setting_type
6 ( name, grp, label, description, datatype, fm_class ) VALUES
7
8 ( 'acq.default_owning_lib_for_auto_lids_strategy', 'acq',
9     oils_i18n_gettext('acq.default_owning_lib_for_auto_lids_strategy',
10         'How to set default owning library for auto-created line item items',
11         'coust', 'label'),
12     oils_i18n_gettext('acq.default_owning_lib_for_auto_lids_strategy',
13         'Stategy to use to set default owning library to set when line item items are auto-created because the provider''s default copy count has been set. Valid values are "workstation" to use the workstation library, "blank" to leave it blank, and "use_setting" to use the "Default owning library for auto-created line item items" setting. If not set, the workstation library will be used.',
14         'coust', 'description'),
15     'string', null)
16 ,( 'acq.default_owning_lib_for_auto_lids', 'acq',
17     oils_i18n_gettext('acq.default_owning_lib_for_auto_lids',
18         'Default owning library for auto-created line item items',
19         'coust', 'label'),
20     oils_i18n_gettext('acq.default_owning_lib_for_auto_lids',
21         'The default owning library to set when line item items are auto-created because the provider''s default copy count has been set. This applies if the "How to set default owning library for auto-created line item items" setting is set to "use_setting".',
22         'coust', 'description'),
23     'link', 'aou')
24 ;
25
26 COMMIT;