This commit is contained in:
Hanh 2021-12-15 19:09:53 +08:00
parent 79a4d8ac3b
commit 9667abc5bb
1 changed files with 8 additions and 0 deletions

View File

@ -793,6 +793,14 @@ impl DbAdapter {
"DELETE FROM received_notes WHERE account = ?1",
params![account],
)?;
self.connection.execute(
"DELETE FROM transactions WHERE account = ?1",
params![account],
)?;
self.connection.execute(
"DELETE FROM diversifiers WHERE account = ?1",
params![account],
)?;
self.connection.execute(
"DELETE FROM accounts WHERE id_account = ?1",
params![account],