diff options
Diffstat (limited to 'extension/background/db.ts')
| -rw-r--r-- | extension/background/db.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extension/background/db.ts b/extension/background/db.ts index d3c6e9182..2807eb185 100644 --- a/extension/background/db.ts +++ b/extension/background/db.ts @@ -67,11 +67,8 @@ namespace Db { currentAmount: AmountJson_interface; mintBaseUrl: string; } - - } - const DB_NAME = "taler"; const DB_VERSION = 1; @@ -102,6 +99,7 @@ function openTalerDb(): Promise<IDBDatabase> { db.createObjectStore("transactions", {keyPath: "contractHash"}); db.createObjectStore("precoins", {keyPath: "coinPub", autoIncrement: true}); + db.createObjectStore("history", {keyPath: "id", autoIncrement: true}); break; } }; @@ -137,4 +135,4 @@ function exportDb(db): Promise<any> { }); } }); -}
\ No newline at end of file +} |
