DB now stores Artists. DB schema may need small tweaks.

This commit is contained in:
Joseph Milazzo
2017-05-02 21:40:29 -05:00
parent f2a8336b31
commit 5ee1077e1e
2 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ namespace NzbDrone.Core.Datastore
Mapper.Entity<Artist>().RegisterModel("Artist")
.Ignore(s => s.RootFolderPath)
.Relationship()
.HasOne(s => s.Profile, s => s.ProfileId);
.HasOne(a => a.Profile, a => a.ProfileId);
Mapper.Entity<TrackFile>().RegisterModel("TrackFiles")
.Ignore(f => f.Path)