aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb
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/auditordb
parent94e8ecf90f4e66456aed4f15cece3ca3da81bf4c (diff)
sql fix: amounts are tuples
Diffstat (limited to 'src/auditordb')
-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
);