remove unused index
This commit is contained in:
parent
aae06c680f
commit
e964367d0a
@ -3,12 +3,12 @@ import { openDatabase, Database, Store, Index } from "./util/query";
|
|||||||
import { IDBFactory, IDBDatabase } from "idb-bridge";
|
import { IDBFactory, IDBDatabase } from "idb-bridge";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of the Taler database. The name includes the
|
* Name of the Taler database. This is effectively the major
|
||||||
* major version of the DB schema. The version should be incremented
|
* version of the DB schema. Whenever it changes, custom import logic
|
||||||
* with each major change. When incrementing the major version,
|
* for all previous versions must be written, which should be
|
||||||
* the wallet should import data from the previous version.
|
* avoided.
|
||||||
*/
|
*/
|
||||||
const TALER_DB_NAME = "taler-walletdb-v11";
|
const TALER_DB_NAME = "taler-wallet-prod-v1";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Current database minor version, should be incremented
|
* Current database minor version, should be incremented
|
||||||
|
@ -355,6 +355,7 @@ export enum DenominationStatus {
|
|||||||
VerifiedBad,
|
VerifiedBad,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Denomination record as stored in the wallet's database.
|
* Denomination record as stored in the wallet's database.
|
||||||
*/
|
*/
|
||||||
@ -1540,11 +1541,6 @@ class CoinsStore extends Store<CoinRecord> {
|
|||||||
"exchangeBaseUrl",
|
"exchangeBaseUrl",
|
||||||
"exchangeBaseUrl",
|
"exchangeBaseUrl",
|
||||||
);
|
);
|
||||||
denomPubIndex = new Index<string, CoinRecord>(
|
|
||||||
this,
|
|
||||||
"denomPubIndex",
|
|
||||||
"denomPub",
|
|
||||||
);
|
|
||||||
denomPubHashIndex = new Index<string, CoinRecord>(
|
denomPubHashIndex = new Index<string, CoinRecord>(
|
||||||
this,
|
this,
|
||||||
"denomPubHashIndex",
|
"denomPubHashIndex",
|
||||||
|
Loading…
Reference in New Issue
Block a user