1 -- Evergreen DB patch 0745.data.prewarn_expire_setting.sql
3 -- Configuration setting to warn staff when an account is about to expire
7 -- check whether patch can be applied
8 SELECT evergreen.upgrade_deps_block_check('0745', :eg_version);
10 INSERT INTO config.org_unit_setting_type
11 (name, grp, label, description, datatype)
13 'circ.patron_expires_soon_warning',
16 'circ.patron_expires_soon_warning',
17 'Warn when patron account is about to expire',
22 'circ.patron_expires_soon_warning',
23 'Warn when patron account is about to expire. If set, the staff client displays a warning this many days before the expiry of a patron account. Value is in number of days, for example: 3 for 3 days.',