diff --git a/src/BUTR.CrashReportServer/Services/DatabaseMigrator.cs b/src/BUTR.CrashReportServer/Services/DatabaseMigrator.cs index 1f06790..8dc3413 100644 --- a/src/BUTR.CrashReportServer/Services/DatabaseMigrator.cs +++ b/src/BUTR.CrashReportServer/Services/DatabaseMigrator.cs @@ -1,5 +1,4 @@ -/* -using BUTR.CrashReportServer.Contexts; +using BUTR.CrashReportServer.Contexts; using BUTR.CrashReportServer.Models.Database; using BUTR.CrashReportServer.Utils; @@ -106,5 +105,4 @@ DELETE FROM json_entity } }); } -} -*/ \ No newline at end of file +} \ No newline at end of file diff --git a/src/BUTR.CrashReportServer/Startup.cs b/src/BUTR.CrashReportServer/Startup.cs index 311144e..675eb79 100644 --- a/src/BUTR.CrashReportServer/Startup.cs +++ b/src/BUTR.CrashReportServer/Startup.cs @@ -45,7 +45,7 @@ public void ConfigureServices(IServiceCollection services) services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddHostedService(); + //services.AddHostedService(); services.AddDbContextFactory(x => x.UseSqlite(_configuration.GetConnectionString("Main")));