LP#1965446 Stamping upgrade script
[evergreen-equinox.git] / Open-ILS / src / sql / Pg / upgrade / 1373.schema.eparts.sql
1 BEGIN;
2
3 -- check whether patch can be applied
4 SELECT evergreen.upgrade_deps_block_check('1373', :eg_version);
5
6 -- 950.data.seed-values.sql
7
8 INSERT INTO config.global_flag (name, value, enabled, label)
9 VALUES (
10     'circ.holds.api_require_monographic_part_when_present',
11     NULL,
12     FALSE,
13     oils_i18n_gettext(
14         'circ.holds.api_require_monographic_part_when_present',
15         'Holds: Require Monographic Part When Present for hold check.',
16         'cgf', 'label'
17     )
18 );
19
20 INSERT INTO config.org_unit_setting_type (name, label, grp, description, datatype)
21 VALUES (
22     'circ.holds.ui_require_monographic_part_when_present',
23     oils_i18n_gettext('circ.holds.ui_require_monographic_part_when_present',
24         'Require Monographic Part when Present',
25         'coust', 'label'),
26     'circ',
27     oils_i18n_gettext('circ.holds.ui_require_monographic_part_when_present',
28         'Normally the selection of a monographic part during hold placement is optional if there is at least one copy on the bib without a monographic part.  A true value for this setting will require part selection even under this condition.',
29         'coust', 'description'),
30     'bool'
31 );
32
33 COMMIT;