Use file-scoped namespace in db context

pull/9108/head
Patrick Barron 2 years ago
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…
Cancel
Save