Add a firstEpisode field on the backend

This commit is contained in:
Zoe Roux
2023-10-31 23:51:07 +01:00
parent c4f1e420f8
commit e12a1d369d
2 changed files with 16 additions and 0 deletions
@@ -253,6 +253,8 @@ namespace Kyoo.Postgresql
{
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<Show>()
.Ignore(x => x.FirstEpisode);
modelBuilder.Entity<Episode>()
.Ignore(x => x.PreviousEpisode)
.Ignore(x => x.NextEpisode);