mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Adding history
This commit is contained in:
parent
6a3d886588
commit
7ab1084437
20 changed files with 289 additions and 7 deletions
|
@ -38,9 +38,10 @@ namespace NzbDrone.Core.Datastore
|
|||
|
||||
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
||||
|
||||
Mapper.Entity<History.History>().RegisterModel("History")
|
||||
.Relationship()
|
||||
.HasOne(h => h.Episode, h => h.EpisodeId);
|
||||
Mapper.Entity<History.History>().RegisterModel("History");
|
||||
// .Relationship()
|
||||
// .HasOne(h => h.Episode, h => h.EpisodeId)
|
||||
// .HasOne(h => h.Series, h => h.SeriesId);
|
||||
|
||||
Mapper.Entity<Series>().RegisterModel("Series")
|
||||
.Ignore(s => s.Path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue