diff options
Diffstat (limited to 'src/db.ts')
-rw-r--r-- | src/db.ts | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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. */ |