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 --- .../0002-auditor_row_minor_inconsistencies.sql | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/auditordb/0002-auditor_row_minor_inconsistencies.sql (limited to 'src/auditordb/0002-auditor_row_minor_inconsistencies.sql') diff --git a/src/auditordb/0002-auditor_row_minor_inconsistencies.sql b/src/auditordb/0002-auditor_row_minor_inconsistencies.sql new file mode 100644 index 000000000..7836037c7 --- /dev/null +++ b/src/auditordb/0002-auditor_row_minor_inconsistencies.sql @@ -0,0 +1,25 @@ +-- +-- 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_row_minor_inconsistency +( + row_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE PRIMARY KEY, + table BYTEA, + diagnostic BYTEA +); +COMMENT ON TABLE auditor_row_minor_inconsistency + IS 'Report a (serious) row inconsistency in the exchange''s database.'; \ No newline at end of file -- cgit v1.2.3