diff options
| author | Tim Eisele <Ghost_of_Stone@web.de> | 2025-04-03 02:06:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 18:06:40 -0600 |
| commit | 0573999d5ef7526a3bb3e24523ba0e5599816155 (patch) | |
| tree | 7d35df4c7c8536fc8f2f99d8d05309d97862684d /src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs | |
| parent | 49ac705867234c48e79ceb1cd84bc4394c65313d (diff) | |
Import Keyframes into database (#13771)
* Migrate keyframe data into database
* Clear database table before import to handle failed migrations
Diffstat (limited to 'src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs')
| -rw-r--r-- | src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs index 9db70263d..35ad461ec 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDbContext.cs @@ -157,6 +157,11 @@ public class JellyfinDbContext(DbContextOptions<JellyfinDbContext> options, ILog /// </summary> public DbSet<BaseItemTrailerType> BaseItemTrailerTypes => Set<BaseItemTrailerType>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/>. + /// </summary> + public DbSet<KeyframeData> KeyframeData => Set<KeyframeData>(); + /*public DbSet<Artwork> Artwork => Set<Artwork>(); public DbSet<Book> Books => Set<Book>(); |
