aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/JellyfinDbContext.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-11 11:11:15 +0000
committerJPVenson <github@jpb.email>2024-10-11 11:11:15 +0000
commitb73985e04f76924ec91692890687461bcfdb4e11 (patch)
tree4b309b212d86e03e9d74d9a2025a520018d7eb7f /Jellyfin.Server.Implementations/JellyfinDbContext.cs
parentf397fc5b98468a370fb51696df608dfbb2f14213 (diff)
Expanded People architecture and fixed migration
Diffstat (limited to 'Jellyfin.Server.Implementations/JellyfinDbContext.cs')
-rw-r--r--Jellyfin.Server.Implementations/JellyfinDbContext.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/Jellyfin.Server.Implementations/JellyfinDbContext.cs b/Jellyfin.Server.Implementations/JellyfinDbContext.cs
index 284897c99..becfd81a4 100644
--- a/Jellyfin.Server.Implementations/JellyfinDbContext.cs
+++ b/Jellyfin.Server.Implementations/JellyfinDbContext.cs
@@ -112,7 +112,7 @@ public class JellyfinDbContext(DbContextOptions<JellyfinDbContext> options, ILog
public DbSet<Chapter> Chapters => Set<Chapter>();
/// <summary>
- /// Gets the <see cref="DbSet{TEntity}"/> containing the user data.
+ /// Gets the <see cref="DbSet{TEntity}"/>.
/// </summary>
public DbSet<ItemValue> ItemValues => Set<ItemValue>();
@@ -122,16 +122,21 @@ public class JellyfinDbContext(DbContextOptions<JellyfinDbContext> options, ILog
public DbSet<ItemValueMap> ItemValuesMap => Set<ItemValueMap>();
/// <summary>
- /// Gets the <see cref="DbSet{TEntity}"/> containing the user data.
+ /// Gets the <see cref="DbSet{TEntity}"/>.
/// </summary>
public DbSet<MediaStreamInfo> MediaStreamInfos => Set<MediaStreamInfo>();
/// <summary>
- /// Gets the <see cref="DbSet{TEntity}"/> containing the user data.
+ /// Gets the <see cref="DbSet{TEntity}"/>.
/// </summary>
public DbSet<People> Peoples => Set<People>();
/// <summary>
+ /// Gets the <see cref="DbSet{TEntity}"/>.
+ /// </summary>
+ public DbSet<PeopleBaseItemMap> PeopleBaseItemMap => Set<PeopleBaseItemMap>();
+
+ /// <summary>
/// Gets the <see cref="DbSet{TEntity}"/> containing the referenced Providers with ids.
/// </summary>
public DbSet<BaseItemProvider> BaseItemProviders => Set<BaseItemProvider>();