gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: add byStatus ind


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: add byStatus indices for peer payment object stores
Date: Wed, 02 Nov 2022 18:31:08 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 566248aec wallet-core: add byStatus indices for peer payment object 
stores
566248aec is described below

commit 566248aec417f6653e6245b96312f187517f0cdd
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Nov 2 18:31:05 2022 +0100

    wallet-core: add byStatus indices for peer payment object stores
---
 packages/taler-wallet-core/src/db.ts | 10 ++++++++--
 1 file 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",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]