aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-27 19:45:16 +0100
committerFlorian Dold <florian@dold.me>2024-03-27 19:45:16 +0100
commite0f4f29bc99372c22b6c1bfa09dcba2d85f3b608 (patch)
tree704bbca22ebe2a30dd98f7e5f719b49d3d8d985e /packages/taler-wallet-core/src/db.ts
parentbe0f21389bb2c206344ed9c4f78c72ae84d5548d (diff)
downloadwallet-core-e0f4f29bc99372c22b6c1bfa09dcba2d85f3b608.tar.xz
wallet-core: purge other database tables when purging an exchange
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 92cf63ae1..a587363c5 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 = 7;
+export const WALLET_DB_MINOR_VERSION = 8;
declare const symDbProtocolTimestamp: unique symbol;
@@ -2420,6 +2420,9 @@ export const WalletStoresV1 = {
"maxAge",
"freshCoinCount",
]),
+ byExchangeBaseUrl: describeIndex("byExchangeBaseUrl", "exchangeBaseUrl", {
+ versionAdded: 8,
+ }),
},
),
coins: describeStore(