diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-13 13:10:20 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-13 13:10:20 +0100 |
commit | 04a60770ee6a282f4833b8bfe72525ea36b8e295 (patch) | |
tree | efb2289bec715369ada44624a134cdc15f395295 /src/db.ts | |
parent | f3329ecf062b217b2e062b92034152f623685a87 (diff) |
new history schema
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. */ |