mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Look ma, history!
This commit is contained in:
parent
3602822572
commit
d320c2b6a9
12 changed files with 62 additions and 56 deletions
|
@ -39,9 +39,11 @@ namespace NzbDrone.Core.Datastore
|
|||
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
||||
|
||||
Mapper.Entity<History.History>().RegisterModel("History")
|
||||
.Relationship()
|
||||
.HasOne(h => h.Episode, h => h.EpisodeId)
|
||||
.HasOne(h => h.Series, h => h.SeriesId);
|
||||
.Relationships
|
||||
.AutoMapICollectionOrComplexProperties();
|
||||
// .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