mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-18 00:06:27 +01:00
Expanded People architecture and fixed migration
This commit is contained in:
@@ -13,8 +13,8 @@ public class PeopleConfiguration : IEntityTypeConfiguration<People>
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<People> builder)
|
||||
{
|
||||
builder.HasKey(e => new { e.ItemId, e.Role, e.ListOrder });
|
||||
builder.HasIndex(e => new { e.ItemId, e.ListOrder });
|
||||
builder.HasKey(e => e.Id);
|
||||
builder.HasIndex(e => e.Name);
|
||||
builder.HasMany(e => e.BaseItems);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user