aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/0002-auditor_row_inconsistency.sql
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2024-01-12 11:58:28 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2024-01-12 11:58:28 +0100
commit8d9000ece689eecb235f8c538757f2b643773135 (patch)
tree75c7219894e08bfb3a2c50425a68aa3050e069bf /src/auditordb/0002-auditor_row_inconsistency.sql
parenta6b35ee7d345aa11e0388733fb95f3a4d2e52180 (diff)
parent5e38ee6617bee228564e305ebbcf3e46391864aa (diff)
downloadexchange-8d9000ece689eecb235f8c538757f2b643773135.tar.xz
Merge branch 'master' of git.taler.net/exchange
Diffstat (limited to 'src/auditordb/0002-auditor_row_inconsistency.sql')
-rw-r--r--src/auditordb/0002-auditor_row_inconsistency.sql25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/auditordb/0002-auditor_row_inconsistency.sql b/src/auditordb/0002-auditor_row_inconsistency.sql
new file mode 100644
index 000000000..ece2e5661
--- /dev/null
+++ b/src/auditordb/0002-auditor_row_inconsistency.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 <http://www.gnu.org/licenses/>
+--
+
+SET search_path TO auditor;
+CREATE TABLE IF NOT EXISTS auditor_row_inconsistency
+(
+ row_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE PRIMARY KEY,
+ table BYTEA,
+ diagnostic BYTEA
+);
+COMMENT ON TABLE auditor_row_inconsistency
+ IS 'Report a (serious) row inconsistency in the exchange''s database'; \ No newline at end of file