Skip to content

Commit 8dca98b

Browse files
review
Signed-off-by: Robert Zaremba <robert@zaremba.ch>
1 parent 508a8b9 commit 8dca98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/btcindexer/db/migrations/0001_initial_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ CREATE TABLE IF NOT EXISTS nbtc_deposit_addresses (
5858
) STRICT;
5959

6060
CREATE TABLE IF NOT EXISTS nbtc_utxos (
61+
-- TODO: The primary key should be a combination of (setup_id, nbtc_utxo_id)
6162
nbtc_utxo_id INTEGER NOT NULL PRIMARY KEY, -- Sui ID asigned to this UTXO
62-
-- TODO: This is an ID assigned by the smart contract. The primary key should be a combination of (setup_id, nbtc_utxo_id)
6363
address_id TEXT NOT NULL,
6464
dwallet_id TEXT NOT NULL,
6565
txid TEXT NOT NULL, -- Bitcoin transaction ID

0 commit comments

Comments
 (0)