summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-11-03 16:20:04 +0100
committerChristian Grothoff <christian@grothoff.org>2023-11-03 16:20:04 +0100
commit4232c60124dcf72845160b06042389f4cfc5ce49 (patch)
tree086ca93d5dd68381544417a13ddd19c0cd0da9a5 /src
parent94e8ecf90f4e66456aed4f15cece3ca3da81bf4c (diff)
downloadexchange-4232c60124dcf72845160b06042389f4cfc5ce49.tar.gz
exchange-4232c60124dcf72845160b06042389f4cfc5ce49.tar.bz2
exchange-4232c60124dcf72845160b06042389f4cfc5ce49.zip
sql fix: amounts are tuples
Diffstat (limited to 'src')
-rw-r--r--src/auditordb/0002-auditor_purses.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditordb/0002-auditor_purses.sql b/src/auditordb/0002-auditor_purses.sql
index 17fd5dde2..7cebd8894 100644
--- 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
);