mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 18:17:22 +01:00
add redis for character identification
This commit is contained in:
parent
ea48fb3947
commit
1f66b2c980
16 changed files with 356 additions and 175 deletions
|
|
@ -45,7 +45,7 @@ public class MareDbContext : DbContext
|
|||
{
|
||||
modelBuilder.Entity<Auth>().ToTable("auth");
|
||||
modelBuilder.Entity<User>().ToTable("users");
|
||||
modelBuilder.Entity<User>().HasIndex(c => c.CharacterIdentification);
|
||||
//modelBuilder.Entity<User>().HasIndex(c => c.CharacterIdentification);
|
||||
modelBuilder.Entity<FileCache>().ToTable("file_caches");
|
||||
modelBuilder.Entity<FileCache>().HasIndex(c => c.UploaderUID);
|
||||
modelBuilder.Entity<ClientPair>().ToTable("client_pairs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue