]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0009.data.action-trigger-hold-cancel-hook.sql
Stamping upgrade scripts for LP#818740
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0009.data.action-trigger-hold-cancel-hook.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0009');
4
5 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
6     'hold_request.cancel.expire_no_target',
7     'ahr',
8     'A hold is cancelled because no copies were found'
9 );
10
11 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
12     'hold_request.cancel.expire_holds_shelf',
13     'ahr',
14     'A hold is cancelled becuase it was on the holds shelf too long'
15 );
16
17 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
18     'hold_request.cancel.staff',
19     'ahr',
20     'A hold is cancelled becuase it was cancelled by staff'
21 );
22
23 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
24     'hold_request.cancel.patron',
25     'ahr',
26     'A hold is cancelled by the patron'
27 );
28
29
30 COMMIT;
31
32