Apply migrations on startup
This commit is contained in:
@@ -45,6 +45,8 @@ public static class DependencyInjectionExtensions
|
||||
|
||||
services.AddHttpContextAccessor();
|
||||
|
||||
services.AddHostedService<ApplyMigrationsService>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user