Remove caching; add previous/next puzzle dates to puzzles
This commit is contained in:
@@ -11,6 +11,11 @@ namespace ConnectionsAPI.Database
|
||||
{
|
||||
modelBuilder.Entity<Puzzle>()
|
||||
.HasIndex(x => x.PrintDate).IsUnique();
|
||||
modelBuilder.Entity<Puzzle>()
|
||||
.Ignore(x => x.NextPrintDate);
|
||||
modelBuilder.Entity<Puzzle>()
|
||||
.Ignore(x => x.PrevPrintDate);
|
||||
|
||||
|
||||
base.OnModelCreating(modelBuilder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user