From af06ddc8e833d6f4bbfd49585a750227b05c056d Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Wed, 11 Jan 2023 16:43:22 +0100
Subject: -add a few missing indices/foreign key constraints

---
 src/exchangedb/0003-withdraw_age_commitments.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/exchangedb/0003-withdraw_age_commitments.sql')

diff --git a/src/exchangedb/0003-withdraw_age_commitments.sql b/src/exchangedb/0003-withdraw_age_commitments.sql
index e2205b123..f6f8b44d7 100644
--- a/src/exchangedb/0003-withdraw_age_commitments.sql
+++ b/src/exchangedb/0003-withdraw_age_commitments.sql
@@ -25,7 +25,7 @@ DECLARE
 BEGIN
   PERFORM create_partitioned_table(
     'CREATE TABLE %I'
-      '(withdraw_age_commitment_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE'
+      '(withdraw_age_commitment_id BIGINT GENERATED BY DEFAULT AS IDENTITY'
       ',h_commitment BYTEA PRIMARY KEY CHECK (LENGTH(h_commitment)=64)'
       ',amount_with_fee_val INT8 NOT NULL'
       ',amount_with_fee_frac INT4 NOT NULL'
-- 
cgit v1.2.3

