mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Use file-scoped namespace in db context
This commit is contained in:
parent
921618368b
commit
2a86723caf
@ -8,11 +8,11 @@ using Jellyfin.Data.Entities.Security;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Jellyfin.Server.Implementations
|
||||
namespace Jellyfin.Server.Implementations;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public class JellyfinDb : DbContext
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public class JellyfinDb : DbContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="JellyfinDb"/> class.
|
||||
/// </summary>
|
||||
@ -157,5 +157,4 @@ namespace Jellyfin.Server.Implementations
|
||||
// Configuration for each entity is in it's own class inside 'ModelConfiguration'.
|
||||
modelBuilder.ApplyConfigurationsFromAssembly(typeof(JellyfinDb).Assembly);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user