taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 0adec32521ecb1e07a7ab6df9556c8bbe30b9cc4
parent 026d9cacaec62fe6c853b3f716a98e6e82e1dd19
Author: Florian Dold <florian@dold.me>
Date:   Tue,  2 Apr 2024 12:06:09 +0200

wallet-core: missing DB migration for denomLossEvents index

Diffstat:
Mpackages/taler-wallet-core/src/db.ts | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 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({