mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
parent
9ed6fd09a4
commit
385d206287
24 changed files with 255 additions and 82 deletions
|
@ -253,7 +253,7 @@ namespace Ombi.Store.Migrations
|
|||
|
||||
b.Property<DateTime>("AddedAt");
|
||||
|
||||
b.Property<string>("Key");
|
||||
b.Property<int>("Key");
|
||||
|
||||
b.Property<string>("ProviderId");
|
||||
|
||||
|
@ -277,11 +277,11 @@ namespace Ombi.Store.Migrations
|
|||
|
||||
b.Property<int>("EpisodeNumber");
|
||||
|
||||
b.Property<string>("GrandparentKey");
|
||||
b.Property<int>("GrandparentKey");
|
||||
|
||||
b.Property<string>("Key");
|
||||
b.Property<int>("Key");
|
||||
|
||||
b.Property<string>("ParentKey");
|
||||
b.Property<int>("ParentKey");
|
||||
|
||||
b.Property<int>("SeasonNumber");
|
||||
|
||||
|
@ -289,6 +289,8 @@ namespace Ombi.Store.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("GrandparentKey");
|
||||
|
||||
b.ToTable("PlexEpisode");
|
||||
});
|
||||
|
||||
|
@ -567,6 +569,15 @@ namespace Ombi.Store.Migrations
|
|||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Ombi.Store.Entities.PlexEpisode", b =>
|
||||
{
|
||||
b.HasOne("Ombi.Store.Entities.PlexContent", "Series")
|
||||
.WithMany("Episodes")
|
||||
.HasForeignKey("GrandparentKey")
|
||||
.HasPrincipalKey("Key")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Ombi.Store.Entities.PlexSeasonsContent", b =>
|
||||
{
|
||||
b.HasOne("Ombi.Store.Entities.PlexContent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue