]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0180.data.acq.cancel-reasons.sql
LP#1117808: Stamping upgrade scripts for extend use of merge profiles
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0180.data.acq.cancel-reasons.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0180'); -- Scott McKellar
4
5 INSERT INTO acq.cancel_reason ( id, org_unit, label, description ) VALUES (
6         1, 1, 'invalid_isbn', oils_i18n_gettext( 1, 'ISBN is unrecognizable', 'acqcr', 'label' ));
7
8 INSERT INTO acq.cancel_reason ( id, org_unit, label, description ) VALUES (
9         2, 1, 'postpone', oils_i18n_gettext( 2, 'Title has been postponed', 'acqcr', 'label' ));
10
11 INSERT INTO permission.perm_list (id, code, description)
12     VALUES (365, 'ADMIN_ACQ_CANCEL_CAUSE', 
13         oils_i18n_gettext( 365, 'Allow a user to create/update/delete reasons for order cancellations', 'ppl', 'description' ));
14
15 COMMIT;