wallet-core: make planchets.byGroupAndIndex unique
This commit is contained in:
parent
5de329e653
commit
de117e375a
@ -2434,10 +2434,13 @@ export const WalletStoresV1 = {
|
||||
"planchets",
|
||||
describeContents<PlanchetRecord>({ keyPath: "coinPub" }),
|
||||
{
|
||||
byGroupAndIndex: describeIndex("byGroupAndIndex", [
|
||||
"withdrawalGroupId",
|
||||
"coinIdx",
|
||||
]),
|
||||
byGroupAndIndex: describeIndex(
|
||||
"byGroupAndIndex",
|
||||
["withdrawalGroupId", "coinIdx"],
|
||||
{
|
||||
unique: true,
|
||||
},
|
||||
),
|
||||
byGroup: describeIndex("byGroup", "withdrawalGroupId"),
|
||||
byCoinEvHash: describeIndex("byCoinEv", "coinEvHash"),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user