]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1289.data.record_notes.sql
LP#1831803: (follow-up) update release notes formatting
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1289.data.record_notes.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1289', :eg_version);
4
5
6 ALTER TABLE biblio.record_note ADD COLUMN deleted BOOLEAN DEFAULT FALSE;
7
8 INSERT INTO permission.perm_list ( id, code, description ) VALUES
9 ( 633, 'CREATE_RECORD_NOTE', oils_i18n_gettext(633,
10    'Allow the user to create a record note', 'ppl', 'description')),
11 ( 634, 'UPDATE_RECORD_NOTE', oils_i18n_gettext(634,
12    'Allow the user to update a record note', 'ppl', 'description')),
13 ( 635, 'DELETE_RECORD_NOTE', oils_i18n_gettext(635,
14    'Allow the user to delete a record note', 'ppl', 'description'));
15
16 INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
17 VALUES (
18     'eg.grid.catalog.record.notes', 'gui', 'object',
19     oils_i18n_gettext(
20         'eg.grid.catalog.record.notes',
21         'Grid Config: eg.grid.catalog.record.notes',
22         'cwst', 'label'
23     )
24 );
25
26 COMMIT;