diff options
author | Florian Dold <florian@dold.me> | 2024-01-16 13:15:40 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-16 13:15:40 +0100 |
commit | 1c286ebb2f1c817f5362517d47466c39826c8699 (patch) | |
tree | c0cfcee641529032ee06674b943036fe5c0a7cef /packages/taler-wallet-core/src/db.ts | |
parent | 2e2cf4049a771c82fcc520686de3ace7603baa05 (diff) | |
download | wallet-core-1c286ebb2f1c817f5362517d47466c39826c8699.tar.xz |
wallet-core: implement remaining DD48 calls, test
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 5a412fb27..73739c19c 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -149,7 +149,7 @@ export const CURRENT_DB_CONFIG_KEY = "currentMainDbName"; * backwards-compatible way or object stores and indices * are added. */ -export const WALLET_DB_MINOR_VERSION = 1; +export const WALLET_DB_MINOR_VERSION = 2; declare const symDbProtocolTimestamp: unique symbol; @@ -2383,6 +2383,9 @@ export const WalletStoresV1 = { autoIncrement: true, }), { + byExchangeBaseUrl: describeIndex("byExchangeBaseUrl", "exchangeBaseUrl", { + versionAdded: 2, + }), byPointer: describeIndex( "byDetailsPointer", ["exchangeBaseUrl", "currency", "masterPublicKey"], @@ -2461,6 +2464,9 @@ export const WalletStoresV1 = { }), { byStatus: describeIndex("byStatus", "status"), + byExchangeBaseUrl: describeIndex("byExchangeBaseUrl", "exchangeBaseUrl", { + versionAdded: 2, + }), byTalerWithdrawUri: describeIndex( "byTalerWithdrawUri", "wgInfo.bankInfo.talerWithdrawUri", |