diff options
author | desperateCoder <echotodevnull@gmail.com> | 2020-07-25 14:22:12 +0300 |
---|---|---|
committer | desperateCoder <echotodevnull@gmail.com> | 2020-07-25 14:22:12 +0300 |
commit | a44e13cc26a0b5f3ea8278708d3527d8e8e87731 (patch) | |
tree | 8ed8bd38a003b855a531545f6dc70c226170e891 /app/src/main | |
parent | 3a1e48871242c9a1f0defd9b59af5aa4957722c9 (diff) |
fixes #260
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java b/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java index f889cc66c..07cd367f4 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java @@ -5,12 +5,14 @@ import androidx.annotation.Nullable; import androidx.room.Entity; import androidx.room.ForeignKey; import androidx.room.Index; +import androidx.room.RoomWarnings; import java.io.Serializable; import it.niedermann.nextcloud.deck.model.interfaces.AbstractRemoteEntity; -@Entity(inheritSuperIndices = false, +@SuppressWarnings(RoomWarnings.INDEX_FROM_PARENT_IS_DROPPED) +@Entity( indices = { @Index(value = "id", name = "index_OcsProjectResource_id"), @Index(value = "lastModifiedLocal", name = "index_OcsProjectResource_lastModifiedLocal"), |