]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0718.data.add-to-permanent-bookbag.sql
LP#1096209: add check_sms_notify parameter to all relevant event defs
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0718.data.add-to-permanent-bookbag.sql
1 -- Evergreen DB patch 0718.data.add-to-permanent-bookbag.sql
2 BEGIN;
3
4 -- check whether patch can be applied
5 SELECT evergreen.upgrade_deps_block_check('0718', :eg_version);
6
7 INSERT into config.org_unit_setting_type
8     (name, grp, label, description, datatype)
9     VALUES (
10         'opac.patron.temporary_list_warn',
11         'opac',
12         oils_i18n_gettext(
13             'opac.patron.temporary_list_warn',
14             'Warn patrons when adding to a temporary book list',
15             'coust',
16             'label'
17         ),
18         oils_i18n_gettext(
19             'opac.patron.temporary_list_warn',
20             'Present a warning dialog to the patron when a patron adds a book to a temporary book bag.',
21             'coust',
22             'description'
23         ),
24         'bool'
25     );
26
27 INSERT INTO config.usr_setting_type
28     (name,grp,opac_visible,label,description,datatype)
29 VALUES (
30     'opac.temporary_list_no_warn',
31     'opac',
32     TRUE,
33     oils_i18n_gettext(
34         'opac.temporary_list_no_warn',
35         'Opt out of warning when adding a book to a temporary book list',
36         'cust',
37         'label'
38     ),
39     oils_i18n_gettext(
40         'opac.temporary_list_no_warn',
41         'Opt out of warning when adding a book to a temporary book list',
42         'cust',
43         'description'
44     ),
45     'bool'
46 );
47
48 INSERT INTO config.usr_setting_type
49     (name,grp,opac_visible,label,description,datatype)
50 VALUES (
51     'opac.default_list',
52     'opac',
53     FALSE,
54     oils_i18n_gettext(
55         'opac.default_list',
56         'Default list to use when adding to a bookbag',
57         'cust',
58         'label'
59     ),
60     oils_i18n_gettext(
61         'opac.default_list',
62         'Default list to use when adding to a bookbag',
63         'cust',
64         'description'
65     ),
66     'integer'
67 );
68
69 COMMIT;