diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 0b27b82dd..3716a45dc 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -2089,6 +2089,7 @@ export const WalletStoresV1 = { "exchangeBaseUrl", "pursePub", ]), + byStatus: describeIndex("byStatus", "status"), }, ), peerPullPaymentIncoming: describeStore( @@ -2101,6 +2102,7 @@ export const WalletStoresV1 = { "exchangeBaseUrl", "pursePub", ]), + byStatus: describeIndex("byStatus", "status"), }, ), peerPullPaymentInitiations: describeStore( @@ -2108,14 +2110,18 @@ export const WalletStoresV1 = { describeContents<PeerPullPaymentInitiationRecord>({ keyPath: "pursePub", }), - {}, + { + byStatus: describeIndex("byStatus", "status"), + }, ), peerPushPaymentInitiations: describeStore( "peerPushPaymentInitiations", describeContents<PeerPushPaymentInitiationRecord>({ keyPath: "pursePub", }), - {}, + { + byStatus: describeIndex("byStatus", "status"), + }, ), bankAccounts: describeStore( "bankAccounts", |