mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 10:16:18 +00:00
Fixed AncestorIds and applied review comments
This commit is contained in:
@@ -13,8 +13,7 @@ public class AncestorIdConfiguration : IEntityTypeConfiguration<AncestorId>
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<AncestorId> builder)
|
||||
{
|
||||
builder.HasKey(e => new { e.ItemId, e.Id });
|
||||
builder.HasIndex(e => e.Id);
|
||||
builder.HasIndex(e => new { e.ItemId, e.AncestorIdText });
|
||||
builder.HasKey(e => new { e.ItemId, e.ParentItemId });
|
||||
builder.HasIndex(e => e.ParentItemId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user