mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
RootFolder removed from Series, going back to Path
This commit is contained in:
parent
75def198e4
commit
95a9a297bc
14 changed files with 21 additions and 98 deletions
|
@ -47,9 +47,8 @@ namespace NzbDrone.Core.Datastore
|
|||
// .HasOne(h => h.Series, h => h.SeriesId);
|
||||
|
||||
Mapper.Entity<Series>().RegisterModel("Series")
|
||||
.Ignore(s => s.Path)
|
||||
.Ignore(s => s.RootFolderPath)
|
||||
.Relationship()
|
||||
.HasOne(s => s.RootFolder, s => s.RootFolderId)
|
||||
.HasOne(s => s.QualityProfile, s => s.QualityProfileId);
|
||||
|
||||
Mapper.Entity<Season>().RegisterModel("Seasons");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue