aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index c4cdf769b..195760831 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -119,7 +119,7 @@ export const CURRENT_DB_CONFIG_KEY = "currentMainDbName";
* backwards-compatible way or object stores and indices
* are added.
*/
-export const WALLET_DB_MINOR_VERSION = 7;
+export const WALLET_DB_MINOR_VERSION = 8;
/**
* Ranges for operation status fields.
@@ -909,10 +909,11 @@ export enum RefreshOperationStatus {
}
export enum DepositGroupOperationStatus {
- Finished = 50 /* DORMANT_START */,
- Failed = 51 /* DORMANT_START + 1 */,
- Pending = 10 /* ACTIVE_START */,
- AbortingWithRefresh = 11 /* ACTIVE_START + 1 */,
+ Pending = 10,
+ AbortingWithRefresh = 11,
+
+ Finished = 50,
+ Failed = 51,
}
/**
@@ -2437,6 +2438,9 @@ export const WalletStoresV1 = {
"merchantTipId",
"merchantBaseUrl",
]),
+ byStatus: describeIndex("byStatus", "status", {
+ versionAdded: 8,
+ }),
},
),
withdrawalGroups: describeStore(