Resume last sync

This commit is contained in:
M66B
2018-09-05 21:05:03 +00:00
parent deaa30a5f3
commit 62ae0eeb17
8 changed files with 1893 additions and 2 deletions

View File

@@ -117,6 +117,9 @@ public interface DaoFolder {
@Query("UPDATE folder SET synchronize = :synchronize, unified = :unified, after = :after WHERE id = :id")
int setFolderProperties(long id, boolean synchronize, boolean unified, int after);
@Query("UPDATE folder SET last_sync = :last_sync WHERE id = :id")
int setFolderLastSync(long id, long last_sync);
@Query("DELETE FROM folder WHERE account= :account AND name = :name")
void deleteFolder(Long account, String name);
}