]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0593.data.org-setting-circ.offline.skip_foo_if_newer_status_changed_time.sql
Stamping upgrade script for revive-qp-fts (LP 1161601).
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0593.data.org-setting-circ.offline.skip_foo_if_newer_status_changed_time.sql
1 -- Evergreen DB patch XXXX.data.org-setting-circ.offline.skip_foo_if_newer_status_changed_time.sql
2 --
3 -- New org setting circ.offline.skip_checkout_if_newer_status_changed_time
4 -- New org setting circ.offline.skip_renew_if_newer_status_changed_time
5 -- New org setting circ.offline.skip_checkin_if_newer_status_changed_time
6 --
7 BEGIN;
8
9 -- check whether patch can be applied
10 SELECT evergreen.upgrade_deps_block_check('0593', :eg_version);
11
12 INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) 
13     VALUES ( 
14         'circ.offline.skip_checkout_if_newer_status_changed_time',
15         oils_i18n_gettext(
16             'circ.offline.skip_checkout_if_newer_status_changed_time',
17             'Offline: Skip offline checkout if newer item Status Changed Time.',
18             'coust',
19             'label'
20         ),
21         oils_i18n_gettext(
22             'circ.offline.skip_checkout_if_newer_status_changed_time',
23             'Skip offline checkout transaction (raise exception when'
24             || ' processing) if item Status Changed Time is newer than the'
25             || ' recorded transaction time.  WARNING: The Reshelving to'
26             || ' Available status rollover will trigger this.',
27             'coust',
28             'description'
29         ),
30         'bool'
31     ),( 
32         'circ.offline.skip_renew_if_newer_status_changed_time',
33         oils_i18n_gettext(
34             'circ.offline.skip_renew_if_newer_status_changed_time',
35             'Offline: Skip offline renewal if newer item Status Changed Time.',
36             'coust',
37             'label'
38         ),
39         oils_i18n_gettext(
40             'circ.offline.skip_renew_if_newer_status_changed_time',
41             'Skip offline renewal transaction (raise exception when'
42             || ' processing) if item Status Changed Time is newer than the'
43             || ' recorded transaction time.  WARNING: The Reshelving to'
44             || ' Available status rollover will trigger this.',
45             'coust',
46             'description'
47         ),
48         'bool'
49     ),( 
50         'circ.offline.skip_checkin_if_newer_status_changed_time',
51         oils_i18n_gettext(
52             'circ.offline.skip_checkin_if_newer_status_changed_time',
53             'Offline: Skip offline checkin if newer item Status Changed Time.',
54             'coust',
55             'label'
56         ),
57         oils_i18n_gettext(
58             'circ.offline.skip_checkin_if_newer_status_changed_time',
59             'Skip offline checkin transaction (raise exception when'
60             || ' processing) if item Status Changed Time is newer than the'
61             || ' recorded transaction time.  WARNING: The Reshelving to'
62             || ' Available status rollover will trigger this.',
63             'coust',
64             'description'
65         ),
66         'bool'
67     );
68
69 COMMIT;