diff --git a/Lombiq.HelpfulExtensions.Tests.UI/Lombiq.HelpfulExtensions.Tests.UI.csproj b/Lombiq.HelpfulExtensions.Tests.UI/Lombiq.HelpfulExtensions.Tests.UI.csproj index 6b8c838a..d1a507dd 100644 --- a/Lombiq.HelpfulExtensions.Tests.UI/Lombiq.HelpfulExtensions.Tests.UI.csproj +++ b/Lombiq.HelpfulExtensions.Tests.UI/Lombiq.HelpfulExtensions.Tests.UI.csproj @@ -42,7 +42,7 @@ - + diff --git a/Lombiq.HelpfulExtensions/Extensions/ContentTypes/Startup.cs b/Lombiq.HelpfulExtensions/Extensions/ContentTypes/Startup.cs index d3d219b5..fda56a78 100644 --- a/Lombiq.HelpfulExtensions/Extensions/ContentTypes/Startup.cs +++ b/Lombiq.HelpfulExtensions/Extensions/ContentTypes/Startup.cs @@ -10,7 +10,7 @@ namespace Lombiq.HelpfulExtensions.Extensions.ContentTypes; [Feature(FeatureIds.ContentTypes)] public class Startup : StartupBase { - public override void ConfigureServices(IServiceCollection services) => services.AddScoped(); + public override void ConfigureServices(IServiceCollection services) => services.AddDataMigration(); public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider) { diff --git a/Lombiq.HelpfulExtensions/Extensions/SiteTexts/Startup.cs b/Lombiq.HelpfulExtensions/Extensions/SiteTexts/Startup.cs index 376dfa99..36b3bf94 100644 --- a/Lombiq.HelpfulExtensions/Extensions/SiteTexts/Startup.cs +++ b/Lombiq.HelpfulExtensions/Extensions/SiteTexts/Startup.cs @@ -10,8 +10,8 @@ public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services) { - services.AddScoped(); - services.AddScoped(); + services.AddDataMigration(); + services.AddDataMigration(); services.AddScoped(); } } diff --git a/Lombiq.HelpfulExtensions/Extensions/Widgets/Startup.cs b/Lombiq.HelpfulExtensions/Extensions/Widgets/Startup.cs index 6bc8246d..fa01c184 100644 --- a/Lombiq.HelpfulExtensions/Extensions/Widgets/Startup.cs +++ b/Lombiq.HelpfulExtensions/Extensions/Widgets/Startup.cs @@ -11,7 +11,7 @@ namespace Lombiq.HelpfulExtensions.Extensions.Widgets; public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services) => - services.AddScoped(); + services.AddDataMigration(); public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider) { diff --git a/Lombiq.HelpfulExtensions/Lombiq.HelpfulExtensions.csproj b/Lombiq.HelpfulExtensions/Lombiq.HelpfulExtensions.csproj index 23586aeb..30f63ea2 100644 --- a/Lombiq.HelpfulExtensions/Lombiq.HelpfulExtensions.csproj +++ b/Lombiq.HelpfulExtensions/Lombiq.HelpfulExtensions.csproj @@ -34,13 +34,13 @@ - - - - - - - + + + + + + + @@ -48,7 +48,7 @@ - +