Fix perf with cache
This commit is contained in:
@@ -86,7 +86,7 @@ public class ManagingDbContext : DbContext
|
||||
|
||||
// Configure relationship with User
|
||||
entity.HasOne(e => e.User)
|
||||
.WithMany()
|
||||
.WithMany(u => u.Accounts)
|
||||
.HasForeignKey(e => e.UserId)
|
||||
.OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user