commit 8c8c1cf59d61cc8cad020d699d193bf657a219d7
parent d954792130f48ad31e3428d968188eebadb1879f
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Mon, 11 Aug 2025 13:10:14 +0200
fix double PK constraint on same table
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backenddb/merchant-0022.sql b/src/backenddb/merchant-0022.sql
@@ -128,7 +128,7 @@ COMMENT ON COLUMN merchant_donau_instances.current_year
IS 'The current year for tracking donations for this instance, stored as an 8-byte integer';
CREATE TABLE IF NOT EXISTS merchant_order_token_blinded_sigs
-(order_token_bs_serial BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY
+ (order_token_bs_serial BIGINT GENERATED BY DEFAULT AS IDENTITY
,order_serial BIGINT NOT NULL
REFERENCES merchant_contract_terms (order_serial) ON DELETE CASCADE
,token_index INT4 NOT NULL