Match attachments by properties

This commit is contained in:
M66B
2019-05-08 10:32:37 +02:00
parent 61f7a2f692
commit 4cf330dfb6
11 changed files with 1807 additions and 57 deletions

View File

@@ -45,7 +45,7 @@ import static androidx.room.ForeignKey.CASCADE;
indices = {
@Index(value = {"message"}),
@Index(value = {"message", "sequence"}, unique = true),
@Index(value = {"message", "cid"}, unique = true)
@Index(value = {"message", "cid"})
}
)
public class EntityAttachment {