exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 4232c60124dcf72845160b06042389f4cfc5ce49
parent 94e8ecf90f4e66456aed4f15cece3ca3da81bf4c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  3 Nov 2023 16:20:04 +0100

sql fix: amounts are tuples

Diffstat:
Msrc/auditordb/0002-auditor_purses.sql | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auditordb/0002-auditor_purses.sql b/src/auditordb/0002-auditor_purses.sql @@ -18,7 +18,7 @@ SET search_path TO auditor; CREATE TABLE IF NOT EXISTS auditor_purses (auditor_purses_rowid BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE ,purse_pub BYTEA PRIMARY KEY CHECK(LENGTH(purse_pub)=32) - ,balance taler_amount NOT NULL DEFAULT(0) + ,balance taler_amount NOT NULL DEFAULT(0,0) ,target taler_amount NOT NULL ,expiration_date INT8 NOT NULL );