]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1099.data.more-copy-alerts-active-by-default.sql
LP#1248734: (follow-up) add new indexes to schema update script
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1099.data.more-copy-alerts-active-by-default.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1099', :eg_version);
4
5 \qecho Making the following copy alert types active by default; if you
6 \qecho are not using the web staff client yet, you may want to disable
7 \qecho them.
8 \qecho  - Checkin of lost, missing, lost-and-paid, damaged, claims returned,
9 \qecho    long overdue, and claims never checked out items.
10 \qecho  - Checkout of lost, missing, lost-and-paid, damaged, claims returned,
11 \qecho    long overdue, and claims never checked out items.
12
13 UPDATE config.copy_alert_type
14 SET active = TRUE
15 WHERE id IN (4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17);
16
17 COMMIT;