bump DB major version

This commit is contained in:
Florian Dold 2022-09-06 23:19:53 +02:00
parent 772232ad63
commit 319d51dc42
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ export async function openTalerDatabase(
switch (currentMainVersion) { switch (currentMainVersion) {
case "taler-wallet-main-v2": case "taler-wallet-main-v2":
case "taler-wallet-main-v3": case "taler-wallet-main-v3":
case "taler-wallet-main-v4": // temporary, we might migrate v4 later
// We consider this a pre-release // We consider this a pre-release
// development version, no migration is done. // development version, no migration is done.
await metaDb await metaDb

View File

@ -55,7 +55,7 @@ import { Event, IDBDatabase } from "@gnu-taler/idb-bridge";
* for all previous versions must be written, which should be * for all previous versions must be written, which should be
* avoided. * 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 * Name of the metadata database. This database is used