Drop requirement for multiple unified system folders

pull/159/head
M66B 6 years ago
parent 4808f118bd
commit fd5f7b3418

@ -163,8 +163,7 @@ public interface DaoFolder {
" WHERE account.synchronize" + " WHERE account.synchronize" +
" AND folder.type <> '" + EntityFolder.SYSTEM + "'" + " AND folder.type <> '" + EntityFolder.SYSTEM + "'" +
" AND folder.type <> '" + EntityFolder.USER + "'" + " AND folder.type <> '" + EntityFolder.USER + "'" +
" GROUP BY folder.type" + " GROUP BY folder.type")
" HAVING COUNT(folder.id) > 1")
LiveData<List<EntityFolderUnified>> liveUnified(); LiveData<List<EntityFolderUnified>> liveUnified();
@Query("SELECT * FROM folder WHERE id = :id") @Query("SELECT * FROM folder WHERE id = :id")

Loading…
Cancel
Save