aboutsummaryrefslogtreecommitdiff
path: root/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
commit63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02 (patch)
tree18d0a1f92b8b48abec3d66b10a56d23212d7d81b /src/db.ts
parent2efe743950ade93ef6cb981a6ac4a56ef3e71ec7 (diff)
downloadwallet-core-63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02.tar.xz
android APIs for withdrawal and exchange listing
Diffstat (limited to 'src/db.ts')
-rw-r--r--src/db.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db.ts b/src/db.ts
index 197372024..072b7844e 100644
--- a/src/db.ts
+++ b/src/db.ts
@@ -7,7 +7,7 @@ import { openDatabase, Database, Store, Index } from "./util/query";
* with each major change. When incrementing the major version,
* the wallet should import data from the previous version.
*/
-const TALER_DB_NAME = "taler-walletdb-v4";
+const TALER_DB_NAME = "taler-walletdb-v5";
/**
* Current database minor version, should be incremented
@@ -16,7 +16,7 @@ const TALER_DB_NAME = "taler-walletdb-v4";
* backwards-compatible way or object stores and indices
* are added.
*/
-export const WALLET_DB_VERSION = 1;
+export const WALLET_DB_MINOR_VERSION = 1;
/**
* Return a promise that resolves
@@ -54,7 +54,7 @@ export function openTalerDatabase(
return openDatabase(
idbFactory,
TALER_DB_NAME,
- WALLET_DB_VERSION,
+ WALLET_DB_MINOR_VERSION,
onVersionChange,
onUpgradeNeeded,
);