Rethought about where certain things are stored.

Profiles are now a component of the NetImportDefinition.
This commit is contained in:
Leonardo Galli
2017-01-22 17:02:20 +01:00
parent 9fffcfaea3
commit 94eccc6c14
11 changed files with 36 additions and 25 deletions

View File

@@ -57,7 +57,9 @@ namespace NzbDrone.Core.Datastore
.Ignore(i => i.SupportsSearch);
Mapper.Entity<NetImportDefinition>().RegisterDefinition("NetImport")
.Ignore(i => i.Enable);
.Ignore(i => i.Enable)
.Relationship()
.HasOne(n => n.Profile, n => n.ProfileId);
Mapper.Entity<NotificationDefinition>().RegisterDefinition("Notifications")
.Ignore(i => i.SupportsOnGrab)