[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: remove unused index
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: remove unused index |
Date: |
Tue, 08 Sep 2020 17:46:18 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new e964367d remove unused index
e964367d is described below
commit e964367d0a31c1e7ad1a535cc94e8483c7f7c555
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Sep 8 21:16:11 2020 +0530
remove unused index
---
packages/taler-wallet-core/src/db.ts | 10 +++++-----
packages/taler-wallet-core/src/types/dbTypes.ts | 6 +-----
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/packages/taler-wallet-core/src/db.ts
b/packages/taler-wallet-core/src/db.ts
index c21ff4a4..b94fd154 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -3,12 +3,12 @@ import { openDatabase, Database, Store, Index } from
"./util/query";
import { IDBFactory, IDBDatabase } from "idb-bridge";
/**
- * Name of the Taler database. The name includes the
- * major version of the DB schema. The version should be incremented
- * with each major change. When incrementing the major version,
- * the wallet should import data from the previous version.
+ * Name of the Taler database. This is effectively the major
+ * version of the DB schema. Whenever it changes, custom import logic
+ * for all previous versions must be written, which should be
+ * avoided.
*/
-const TALER_DB_NAME = "taler-walletdb-v11";
+const TALER_DB_NAME = "taler-wallet-prod-v1";
/**
* Current database minor version, should be incremented
diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts
b/packages/taler-wallet-core/src/types/dbTypes.ts
index 12a89a43..ff790e21 100644
--- a/packages/taler-wallet-core/src/types/dbTypes.ts
+++ b/packages/taler-wallet-core/src/types/dbTypes.ts
@@ -355,6 +355,7 @@ export enum DenominationStatus {
VerifiedBad,
}
+
/**
* Denomination record as stored in the wallet's database.
*/
@@ -1540,11 +1541,6 @@ class CoinsStore extends Store<CoinRecord> {
"exchangeBaseUrl",
"exchangeBaseUrl",
);
- denomPubIndex = new Index<string, CoinRecord>(
- this,
- "denomPubIndex",
- "denomPub",
- );
denomPubHashIndex = new Index<string, CoinRecord>(
this,
"denomPubHashIndex",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: remove unused index,
gnunet <=