docs: #306 adding indices for sections
This commit is contained in:
parent
de9cb0b07c
commit
fff4d330ef
@ -175,6 +175,18 @@ namespace RMuseum.DbContext
|
||||
|
||||
builder.Entity<GanjoorUserPoemVisit>()
|
||||
.HasIndex(v => new { v.UserId, v.PoemId });
|
||||
|
||||
builder.Entity<GanjoorPoemSection>()
|
||||
.HasIndex(v => new { v.PoemId, v.Index });
|
||||
|
||||
builder.Entity<GanjoorPoemSection>()
|
||||
.HasIndex(v => new { v.RhymeLetters });
|
||||
|
||||
builder.Entity<GanjoorPoemSection>()
|
||||
.HasIndex(v => new { v.GanjoorMetreId, v.RhymeLetters });
|
||||
|
||||
builder.Entity<GanjoorCachedRelatedSection>()
|
||||
.HasIndex(v => new { v.PoemId, v.SectionIndex });
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user