diff options
| author | Florian Dold <florian.dold@gmail.com> | 2016-01-06 15:39:22 +0100 | 
|---|---|---|
| committer | Florian Dold <florian.dold@gmail.com> | 2016-01-06 15:39:22 +0100 | 
| commit | abf15268acafe588191fffb7ca6ddb963244bb0f (patch) | |
| tree | 0f582386d09eccd550c414e62337a7f630b2ddb1 /extension/background/db.ts | |
| parent | 2f8aa00595ab40292019ca739041296c84703899 (diff) | |
Refactor wallet into logic and extension interface.
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 +}  | 
