switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
This commit is contained in:
@@ -5,7 +5,7 @@ export type Account = {
|
||||
/**
|
||||
* Auto-generated ID by Dexie
|
||||
*/
|
||||
id?: number;
|
||||
id?: number; // this is only blank on input, when the database assigns it
|
||||
|
||||
/**
|
||||
* The date the account was created
|
||||
@@ -48,7 +48,7 @@ export type Account = {
|
||||
/**
|
||||
* Schema for the accounts table in the database.
|
||||
* Fields starting with a $ character are encrypted.
|
||||
* @see {@link https://github.com/PVermeer/dexie-addon-suite-monorepo/tree/master/packages/dexie-encrypted-addon}
|
||||
* @see {@link https://github.com/PVermeer/dexie-addon-suite-monorepo/tree/master/packages/dexie-encrypted-addon#added-schema-syntax}
|
||||
*/
|
||||
export const AccountsSchema = {
|
||||
accounts:
|
||||
|
||||
Reference in New Issue
Block a user