mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Added EF BaseItem migration
This commit is contained in:
@@ -13,7 +13,7 @@ public class PeopleConfiguration : IEntityTypeConfiguration<People>
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<People> builder)
|
||||
{
|
||||
builder.HasNoKey();
|
||||
builder.HasKey(e => new { e.ItemId, e.Role, e.ListOrder });
|
||||
builder.HasIndex(e => new { e.ItemId, e.ListOrder });
|
||||
builder.HasIndex(e => e.Name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user