Allow duplicate message IDs

Some providers, in any case Gmail, allow duplicate message IDs as well
This commit is contained in:
M66B
2019-03-31 16:36:41 +02:00
parent f9737d68e2
commit d612ec55d3
4 changed files with 1668 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ import static androidx.room.ForeignKey.SET_NULL;
@Index(value = {"folder"}),
@Index(value = {"identity"}),
@Index(value = {"folder", "uid"}, unique = true),
@Index(value = {"msgid", "folder"}, unique = true),
@Index(value = {"msgid"}),
@Index(value = {"thread"}),
@Index(value = {"sender"}),
@Index(value = {"received"}),