mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Autocorrect uuids
This commit is contained in:
@@ -192,6 +192,9 @@ public interface DaoAccount {
|
||||
@Update
|
||||
void updateAccount(EntityAccount account);
|
||||
|
||||
@Query("UPDATE account SET uuid = :uuid WHERE id = :id AND NOT (uuid IS :uuid)")
|
||||
int setAccountUuid(long id, String uuid);
|
||||
|
||||
@Query("UPDATE account SET synchronize = :synchronize WHERE id = :id AND NOT (synchronize IS :synchronize)")
|
||||
int setAccountSynchronize(long id, boolean synchronize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user