Add time index to connection log (#29281)
* Add time index to connection log Queries go nyoom. * Don't let me code shit at 5 AM
This commit is contained in:
committed by
GitHub
parent
730a4d289d
commit
f041f58a6d
@@ -187,6 +187,9 @@ namespace Content.Server.Database
|
||||
modelBuilder.Entity<ConnectionLog>()
|
||||
.HasIndex(p => p.UserId);
|
||||
|
||||
modelBuilder.Entity<ConnectionLog>()
|
||||
.HasIndex(p => p.Time);
|
||||
|
||||
modelBuilder.Entity<ConnectionLog>()
|
||||
.Property(p => p.ServerId)
|
||||
.HasDefaultValue(0);
|
||||
|
||||
Reference in New Issue
Block a user