mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Clear on fresh start
This commit is contained in:
@@ -122,6 +122,9 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET tbd = 1 WHERE id = :id")
|
||||
int setAccountTbd(long id);
|
||||
|
||||
@Query("UPDATE account SET last_connected = NULL")
|
||||
int clearAccountConnected();
|
||||
|
||||
@Query("DELETE FROM account WHERE tbd = 1")
|
||||
int deleteAccountsTbd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user