Use file-scoped namespace in db context

This commit is contained in:
Patrick Barron 2023-01-16 10:06:25 -05:00
parent 921618368b
commit 2a86723caf

View File

@ -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);
}
}
}