From 0adec32521ecb1e07a7ab6df9556c8bbe30b9cc4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 2 Apr 2024 12:06:09 +0200 Subject: wallet-core: missing DB migration for denomLossEvents index --- packages/taler-wallet-core/src/db.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 4ead3cf5c..487927b8f 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -150,7 +150,7 @@ export const CURRENT_DB_CONFIG_KEY = "currentMainDbName"; * backwards-compatible way or object stores and indices * are added. */ -export const WALLET_DB_MINOR_VERSION = 9; +export const WALLET_DB_MINOR_VERSION = 10; declare const symDbProtocolTimestamp: unique symbol; @@ -2393,7 +2393,9 @@ export const WalletStoresV1 = { byCurrency: describeIndex("byCurrency", "currency", { versionAdded: 9, }), - byStatus: describeIndex("byStatus", "status"), + byStatus: describeIndex("byStatus", "status", { + versionAdded: 10, + }), }, }), transactions: describeStoreV2({ -- cgit v1.2.3