aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-06 23:19:53 +0200
committerFlorian Dold <florian@dold.me>2022-09-06 23:19:53 +0200
commit319d51dc4204659f2dea83447d728c222f702da8 (patch)
tree0076234782f825ae57d9aa07aef92c225b35d01a
parent772232ad63667fe3df5d8b74f2d4d4623408467f (diff)
bump DB major versionv0.9.0-dev.17
-rw-r--r--packages/taler-wallet-core/src/db-utils.ts1
-rw-r--r--packages/taler-wallet-core/src/db.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db-utils.ts b/packages/taler-wallet-core/src/db-utils.ts
index af337d573..9f18ed9be 100644
--- a/packages/taler-wallet-core/src/db-utils.ts
+++ b/packages/taler-wallet-core/src/db-utils.ts
@@ -137,6 +137,7 @@ export async function openTalerDatabase(
switch (currentMainVersion) {
case "taler-wallet-main-v2":
case "taler-wallet-main-v3":
+ case "taler-wallet-main-v4": // temporary, we might migrate v4 later
// We consider this a pre-release
// development version, no migration is done.
await metaDb
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 9c57a79c1..9d41f2114 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -55,7 +55,7 @@ import { Event, IDBDatabase } from "@gnu-taler/idb-bridge";
* for all previous versions must be written, which should be
* avoided.
*/
-export const TALER_DB_NAME = "taler-wallet-main-v4";
+export const TALER_DB_NAME = "taler-wallet-main-v5";
/**
* Name of the metadata database. This database is used