introduce known_coin_id, alas not yet used
This commit is contained in:
parent
81fec09268
commit
1ca062fc7a
@ -168,7 +168,8 @@ CREATE INDEX IF NOT EXISTS reserves_out_for_get_withdraw_info
|
|||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS known_coins
|
CREATE TABLE IF NOT EXISTS known_coins
|
||||||
(coin_pub BYTEA NOT NULL PRIMARY KEY CHECK (LENGTH(coin_pub)=32)
|
(known_coin_id BIGSERIAL UNIQUE
|
||||||
|
,coin_pub BYTEA NOT NULL PRIMARY KEY CHECK (LENGTH(coin_pub)=32)
|
||||||
,denom_pub_hash BYTEA NOT NULL REFERENCES denominations (denom_pub_hash) ON DELETE CASCADE
|
,denom_pub_hash BYTEA NOT NULL REFERENCES denominations (denom_pub_hash) ON DELETE CASCADE
|
||||||
,denom_sig BYTEA NOT NULL
|
,denom_sig BYTEA NOT NULL
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user