From 7c75dcfb9ce026d85f64e2cf60fbd2a74f7275d3 Mon Sep 17 00:00:00 2001 From: cvium Date: Sat, 22 Oct 2022 10:04:50 +0200 Subject: [PATCH] use filescoped namespace --- .../ActivityLogConfiguration.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Jellyfin.Server.Implementations/ModelConfiguration/ActivityLogConfiguration.cs b/Jellyfin.Server.Implementations/ModelConfiguration/ActivityLogConfiguration.cs index 321c57b6ff..9a63ed9f21 100644 --- a/Jellyfin.Server.Implementations/ModelConfiguration/ActivityLogConfiguration.cs +++ b/Jellyfin.Server.Implementations/ModelConfiguration/ActivityLogConfiguration.cs @@ -2,17 +2,16 @@ using Jellyfin.Data.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Jellyfin.Server.Implementations.ModelConfiguration +namespace Jellyfin.Server.Implementations.ModelConfiguration; + +/// +/// FluentAPI configuration for the ActivityLog entity. +/// +public class ActivityLogConfiguration : IEntityTypeConfiguration { - /// - /// FluentAPI configuration for the ActivityLog entity. - /// - public class ActivityLogConfiguration : IEntityTypeConfiguration + /// + public void Configure(EntityTypeBuilder builder) { - /// - public void Configure(EntityTypeBuilder builder) - { - builder.HasIndex(entity => entity.DateCreated); - } + builder.HasIndex(entity => entity.DateCreated); } }