Anonymous mode is available but it is not useable.

This commit is contained in:
Alex Ning
2019-08-09 15:28:22 +08:00
parent a4583f1ecf
commit 17fc426ecb
7 changed files with 221 additions and 63 deletions

View File

@@ -19,6 +19,9 @@ public interface AccountDao {
@Query("UPDATE accounts SET is_current_user = 0 WHERE is_current_user = 1")
void markAllAccountsNonCurrent();
@Query("DELETE FROM accounts WHERE is_current_user = 1")
void deleteCurrentAccount();
@Query("DELETE FROM accounts")
void deleteAllAccounts();