Added option to set poll interval per folder

This commit is contained in:
M66B
2018-10-01 09:14:21 +00:00
parent 703d8af6e8
commit 11e9333f14
9 changed files with 1063 additions and 11 deletions

View File

@@ -124,8 +124,9 @@ public interface DaoFolder {
", synchronize = :synchronize" +
", unified = :unified" +
", `after` = :after" +
", `poll_interval` = :poll_interval" +
" WHERE id = :id")
int setFolderProperties(long id, String name, String display, boolean hide, boolean synchronize, boolean unified, int after);
int setFolderProperties(long id, String name, String display, boolean hide, boolean synchronize, boolean unified, int after, Integer poll_interval);
@Query("UPDATE folder SET name = :name WHERE account = :account AND name = :old")
int renameFolder(long account, String old, String name);