Update player to use new api

This commit is contained in:
Zoe Roux
2023-09-01 17:55:18 +02:00
parent 25418071fe
commit 5ddfe1ddb2
33 changed files with 382 additions and 286 deletions
@@ -320,6 +320,11 @@ namespace Kyoo.Postgresql
modelBuilder.Entity<User>()
.HasIndex(x => x.Slug)
.IsUnique();
modelBuilder.Entity<Movie>()
.Ignore(x => x.Links);
modelBuilder.Entity<LibraryItem>()
.Ignore(x => x.Links);
}
/// <summary>