diff options
author | Florian Dold <florian@dold.me> | 2022-09-23 21:00:51 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-23 21:00:51 +0200 |
commit | 8d19b801538e2be842ebe2d03ca464f72bb95edb (patch) | |
tree | a4afe95634ff1d893afd56a5a3a78580c46be0a3 /packages/taler-wallet-core/src/db.ts | |
parent | 72336b149b4c27715e4e2f7610ec4007ecccdbd9 (diff) |
wallet-core: backwards compatibility for bankAccounts store, naming conventions
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index c33e1c3fb..3bbe5f002 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -96,7 +96,7 @@ export const CURRENT_DB_CONFIG_KEY = "currentMainDbName"; * backwards-compatible way or object stores and indices * are added. */ -export const WALLET_DB_MINOR_VERSION = 1; +export const WALLET_DB_MINOR_VERSION = 2; export namespace OperationStatusRange { export const ACTIVE_START = 10; @@ -2088,6 +2088,7 @@ export const WalletStoresV1 = { "bankAccounts", describeContents<BankAccountsRecord>({ keyPath: "uri", + versionAdded: 2, }), {}, ), @@ -2099,7 +2100,7 @@ export const WalletStoresV1 = { export interface BankAccountsRecord { uri: string; currency: string; - kyc_completed: boolean; + kycCompleted: boolean; alias: string; } |