LP#1920210: add auditor tables for acq.fund_debit
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 1 Apr 2021 00:03:03 +0000 (17:03 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 7 Jul 2021 14:45:47 +0000 (10:45 -0400)
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/901.audit-tables.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.audit-fund-debit.sql [new file with mode: 0644]

index 72980ee..c411d66 100644 (file)
@@ -46,5 +46,7 @@ SELECT auditor.create_auditor ( 'acq', 'invoice_item' );
 
 SELECT auditor.create_auditor ( 'acq', 'invoice_entry' );
 
+SELECT auditor.create_auditor ( 'acq', 'fund_debit' );
+
 COMMIT;
 
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.audit-fund-debit.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.audit-fund-debit.sql
new file mode 100644 (file)
index 0000000..16f33e6
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+SELECT auditor.create_auditor ( 'acq', 'fund_debit' );
+
+COMMIT;
+