bump DB major version
This commit is contained in:
parent
772232ad63
commit
319d51dc42
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user