From 5e38ee6617bee228564e305ebbcf3e46391864aa Mon Sep 17 00:00:00 2001 From: Nic Eigel Date: Wed, 10 Jan 2024 16:50:19 +0100 Subject: added auditor reporting tables --- src/auditordb/0002-auditor_closure_lags.sql | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/auditordb/0002-auditor_closure_lags.sql (limited to 'src/auditordb/0002-auditor_closure_lags.sql') diff --git a/src/auditordb/0002-auditor_closure_lags.sql b/src/auditordb/0002-auditor_closure_lags.sql new file mode 100644 index 000000000..8473b25f9 --- /dev/null +++ b/src/auditordb/0002-auditor_closure_lags.sql @@ -0,0 +1,27 @@ +-- +-- This file is part of TALER +-- Copyright (C) 2014--2024 Taler Systems SA +-- +-- TALER is free software; you can redistribute it and/or modify it under the +-- terms of the GNU General Public License as published by the Free Software +-- Foundation; either version 3, or (at your option) any later version. +-- +-- TALER is distributed in the hope that it will be useful, but WITHOUT ANY +-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +-- A PARTICULAR PURPOSE. See the GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License along with +-- TALER; see the file COPYING. If not, see +-- + +SET search_path TO auditor; +CREATE TABLE IF NOT EXISTS auditor_closure_lags +( + row_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE PRIMARY KEY, + amount taler_amount, + deadline BIGINT, + wtid integer, + account BYTEA +); +COMMENT ON TABLE auditor_closure_lags + IS 'Report closure lags.'; \ No newline at end of file -- cgit v1.2.3