aboutsummaryrefslogtreecommitdiff
path: root/src/db.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.ts')
-rw-r--r--src/db.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/db.ts b/src/db.ts
index 0a07171ba..e1c5c8f85 100644
--- a/src/db.ts
+++ b/src/db.ts
@@ -1,9 +1,17 @@
-import { Stores, WALLET_DB_VERSION } from "./types/dbTypes";
+import { Stores } from "./types/dbTypes";
import { openDatabase, Database } from "./util/query";
const TALER_DB_NAME = "taler";
/**
+ * Current database version, should be incremented
+ * each time we do incompatible schema changes on the database.
+ * In the future we might consider adding migration functions for
+ * each version increment.
+ */
+export const WALLET_DB_VERSION = 28;
+
+/**
* Return a promise that resolves
* to the taler wallet db.
*/