]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/901.audit-tables.sql
add a reasonable prefix to autogenerated TCNs
[Evergreen.git] / Open-ILS / src / sql / Pg / 901.audit-tables.sql
1 /*
2  * Copyright (C) 2004-2008  Georgia Public Library Service
3  * Copyright (C) 2007-2008  Equinox Software, Inc.
4  * Mike Rylander <miker@esilibrary.com> 
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  */
17
18 BEGIN;
19
20 SELECT auditor.create_auditor ( 'actor', 'usr' );
21 SELECT auditor.create_auditor ( 'actor', 'usr_address' );
22 SELECT auditor.create_auditor ( 'actor', 'org_unit' );
23 SELECT auditor.create_auditor ( 'biblio', 'record_entry' );
24 SELECT auditor.create_auditor ( 'asset', 'call_number' );
25 SELECT auditor.create_auditor ( 'asset', 'copy' );
26
27 COMMIT;
28