1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

optimize index for rating history

update log server to prevent delays or missed information
This commit is contained in:
RaidMax
2019-07-24 19:15:07 -05:00
parent 99a163fa2b
commit d6a5c27c60
17 changed files with 904 additions and 97 deletions

View File

@ -21,13 +21,7 @@ namespace Stats.Models
.HasColumnName("EFClientStatistics_ServerId");
builder.Entity<EFRating>()
.HasIndex(p => p.Performance);
builder.Entity<EFRating>()
.HasIndex(p => p.Ranking);
builder.Entity<EFRating>()
.HasIndex(p => p.When);
.HasIndex(p => new { p.Performance, p.Ranking, p.When });
builder.Entity<EFClientMessage>()
.HasIndex(p => p.TimeSent);