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