Added index on subject, cleanup

This commit is contained in:
M66B
2019-03-05 13:38:05 +00:00
parent f9a41cfce5
commit 83f6150d24
3 changed files with 1552 additions and 10 deletions

View File

@@ -57,13 +57,12 @@ import static androidx.room.ForeignKey.SET_NULL;
@Index(value = {"account"}),
@Index(value = {"folder"}),
@Index(value = {"identity"}),
@Index(value = {"replying"}),
@Index(value = {"forwarding"}),
@Index(value = {"folder", "uid"}, unique = true),
@Index(value = {"msgid", "folder"}, unique = true),
@Index(value = {"thread"}),
@Index(value = {"sender"}),
@Index(value = {"received"}),
@Index(value = {"subject"}),
@Index(value = {"ui_seen"}),
@Index(value = {"ui_flagged"}),
@Index(value = {"ui_hide"}),