Added account/identity delete

This commit is contained in:
M66B
2018-08-07 19:35:21 +00:00
parent 847db6be1f
commit d3ed9271ab
8 changed files with 106 additions and 0 deletions

View File

@@ -53,4 +53,7 @@ public interface DaoIdentity {
@Query("UPDATE identity SET `primary` = 0")
void resetPrimary();
@Query("DELETE FROM identity WHERE id = :id")
void deleteIdentity(long id);
}