aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-20 10:11:24 +0000
committerJPVenson <github@jpb.email>2024-10-20 10:11:24 +0000
commit10a2a316a4da8962126d59ee422be3b8dd8c0cc1 (patch)
tree58a29fc1495ea43130e3d7b7253ec81920da8d79 /Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs
parentcd2e04347263441d86e184ae2821434b8e46437a (diff)
i have too much time.
Refactored BaseItem and UserData relation
Diffstat (limited to 'Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs')
-rw-r--r--Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs b/Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs
index ab5403271..b8419a59f 100644
--- a/Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs
+++ b/Jellyfin.Server.Implementations/ModelConfiguration/BaseItemConfiguration.cs
@@ -35,7 +35,6 @@ public class BaseItemConfiguration : IEntityTypeConfiguration<BaseItemEntity>
builder.HasIndex(e => e.ParentId);
builder.HasIndex(e => e.PresentationUniqueKey);
builder.HasIndex(e => new { e.Id, e.Type, e.IsFolder, e.IsVirtualItem });
- builder.HasIndex(e => new { e.UserDataKey, e.Type });
// covering index
builder.HasIndex(e => new { e.TopParentId, e.Id });