Faster database access

This commit is contained in:
M66B
2018-08-07 08:00:17 +00:00
parent 048660d24f
commit 37c226c74d
5 changed files with 49 additions and 40 deletions

View File

@@ -46,6 +46,7 @@ import static android.arch.persistence.room.ForeignKey.CASCADE;
@Index(value = {"thread"}),
@Index(value = {"received"}),
@Index(value = {"ui_seen"}),
@Index(value = {"ui_hide"})
}
)
public class EntityMessage {