]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0776.schema.acq-order-ident.sql
LP1894131 Sticky catalog holdings org select
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0776.schema.acq-order-ident.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('0776', :eg_version);
4
5 ALTER TABLE acq.lineitem_attr
6     ADD COLUMN order_ident BOOLEAN NOT NULL DEFAULT FALSE;
7
8 INSERT INTO permission.perm_list ( id, code, description ) VALUES (
9     547, -- VERIFY
10     'ACQ_ADD_LINEITEM_IDENTIFIER',
11     oils_i18n_gettext(
12         547,-- VERIFY
13         'When granted, newly added lineitem identifiers will propagate to linked bib records',
14         'ppl',
15         'description'
16     )
17 );
18
19 INSERT INTO permission.perm_list ( id, code, description ) VALUES (
20     548, -- VERIFY
21     'ACQ_SET_LINEITEM_IDENTIFIER',
22     oils_i18n_gettext(
23         548,-- VERIFY
24         'Allows staff to change the lineitem identifier',
25         'ppl',
26         'description'
27     )
28 );
29
30 COMMIT;