From 2f50f47f8288cec4059eb921a5418ef80158c05c Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 6 Mar 2025 17:12:45 -0800 Subject: [PATCH] fixup! tapdb: implement migration for unique index change in universe_leaves table --- tapdb/sqlc/universe.sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapdb/sqlc/universe.sql.go b/tapdb/sqlc/universe.sql.go index 861c2cd7e..d2b42310a 100644 --- a/tapdb/sqlc/universe.sql.go +++ b/tapdb/sqlc/universe.sql.go @@ -1297,7 +1297,7 @@ INSERT INTO universe_leaves ( ) VALUES ( $1, $2, $3, $4, $5, $6 -) ON CONFLICT (leaf_node_namespace, minting_point, script_key_bytes) +) ON CONFLICT (minting_point, script_key_bytes, leaf_node_namespace) -- This is a NOP, minting_point and script_key_bytes are the unique fields -- that caused the conflict. DO UPDATE SET minting_point = EXCLUDED.minting_point,