remove unused index

This commit is contained in:
Florian Dold 2020-09-08 21:16:11 +05:30
parent aae06c680f
commit e964367d0a
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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",