#272 UserId index for GanjoorUserPoemVisit
This commit is contained in:
parent
ca55d3a8d4
commit
1e5867eeee
@ -167,6 +167,9 @@ namespace RMuseum.DbContext
|
||||
builder.Entity<RecitationUserUpVote>()
|
||||
.HasIndex(v => new { v.RecitationId, v.UserId })
|
||||
.IsUnique();
|
||||
|
||||
builder.Entity<GanjoorUserPoemVisit>()
|
||||
.HasIndex(v => v.UserId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user