From 659b1aaac82b57ff25cb26fcf34ba3c9b333b653 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 8 Feb 2024 00:05:39 +0100 Subject: clean up SQL logic a bit more --- src/auditordb/0002-auditor_denomination_pending.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/auditordb/0002-auditor_denomination_pending.sql') diff --git a/src/auditordb/0002-auditor_denomination_pending.sql b/src/auditordb/0002-auditor_denomination_pending.sql index 0dee6ecab..f9ba535b4 100644 --- a/src/auditordb/0002-auditor_denomination_pending.sql +++ b/src/auditordb/0002-auditor_denomination_pending.sql @@ -14,8 +14,7 @@ -- TALER; see the file COPYING. If not, see -- -SET search_path TO auditor; -CREATE TABLE IF NOT EXISTS auditor_denomination_pending +CREATE TABLE auditor_denomination_pending (denom_pub_hash BYTEA PRIMARY KEY CHECK (LENGTH(denom_pub_hash)=64) ,denom_balance taler_amount NOT NULL ,denom_loss taler_amount NOT NULL -- cgit v1.2.3