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:
@ -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);
|
||||
|
Reference in New Issue
Block a user