aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2024-06-13 11:43:37 +0200
committerChristian Blättler <blatc2@bfh.ch>2024-06-13 11:43:37 +0200
commitfdcf3f0929608dc035349e7e8407f3c8cc0f259b (patch)
tree5bba5f777ef67b30a0959407bf79a64376482a3c
parent599db2c13cc7b4eddab22f1e8ef55dde23086f68 (diff)
add rounding to token_families in database
-rw-r--r--src/backenddb/merchant-0008.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backenddb/merchant-0008.sql b/src/backenddb/merchant-0008.sql
index 74ed839d..bb8beb73 100644
--- a/src/backenddb/merchant-0008.sql
+++ b/src/backenddb/merchant-0008.sql
@@ -44,5 +44,9 @@ COMMENT ON COLUMN merchant_issued_tokens.blind_sig
ALTER TABLE merchant_spent_tokens RENAME TO merchant_used_tokens;
+ALTER TABLE merchant_token_families ADD COLUMN rounding BIGINT NOT NULL;
+COMMENT ON COLUMN merchant_token_families.rounding
+ IS 'Token start date rounding granularity.';
+
-- Complete transaction
COMMIT;