mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-23 09:07:02 +01:00
Added EF BaseItem migration
This commit is contained in:
@@ -13,7 +13,7 @@ public class ChapterConfiguration : IEntityTypeConfiguration<Chapter>
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<Chapter> builder)
|
||||
{
|
||||
builder.HasNoKey();
|
||||
builder.HasIndex(e => new { e.ItemId, e.ChapterIndex });
|
||||
builder.HasKey(e => new { e.ItemId, e.ChapterIndex });
|
||||
builder.HasOne(e => e.Item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user