Cleaned up old Dexie class. Added mnemonic and dateCreated columns.

This commit is contained in:
Matthew Aaron Raymer
2022-12-16 13:34:01 +08:00
parent c9d5ab82fd
commit 607230b51c
8 changed files with 7 additions and 119 deletions

View File

@@ -228,7 +228,9 @@ export default class AccountViewView extends Vue {
odexie._allTables.accounts
.add({
publicKey: newId.keys[0].publicKeyHex,
mnemonic: mnemonic,
identity: JSON.stringify(newId),
dateCreated: new Date().getTime(),
})
.then(function () {
odexie._allTables.accounts.each(function (account) {