]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0694.schema.patron_reg_prefix.sql
LP1893463: Follow-up to address de-duplication and adding release notes.
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0694.schema.patron_reg_prefix.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('0694', :eg_version);
4
5 INSERT into config.org_unit_setting_type
6 ( name, grp, label, description, datatype, fm_class ) VALUES
7
8 ( 'ui.patron.edit.au.prefix.require', 'gui',
9     oils_i18n_gettext('ui.patron.edit.au.prefix.require',
10         'Require prefix field on patron registration',
11         'coust', 'label'),
12     oils_i18n_gettext('ui.patron.edit.au.prefix.require',
13         'The prefix field will be required on the patron registration screen.',
14         'coust', 'description'),
15     'bool', null)
16         
17 ,( 'ui.patron.edit.au.prefix.show', 'gui',
18     oils_i18n_gettext('ui.patron.edit.au.prefix.show',
19         'Show prefix field on patron registration',
20         'coust', 'label'),
21     oils_i18n_gettext('ui.patron.edit.au.prefix.show',
22         'The prefix field will be shown on the patron registration screen. Showing a field makes it appear with required fields even when not required. If the field is required this setting is ignored.',
23         'coust', 'description'),
24     'bool', null)
25
26 ,( 'ui.patron.edit.au.prefix.suggest', 'gui',
27     oils_i18n_gettext('ui.patron.edit.au.prefix.suggest',
28         'Suggest prefix field on patron registration',
29         'coust', 'label'),
30     oils_i18n_gettext('ui.patron.edit.au.prefix.suggest',
31         'The prefix field will be suggested on the patron registration screen. Suggesting a field makes it appear when suggested fields are shown. If the field is shown or required this setting is ignored.',
32         'coust', 'description'),
33     'bool', null)
34 ;               
35
36 COMMIT;