We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0eff7 commit 7cdbaeeCopy full SHA for 7cdbaee
src/Middleware/Diagnostics.EntityFrameworkCore/src/MigrationsEndPointMiddleware.cs
@@ -76,7 +76,7 @@ public virtual async Task Invoke(HttpContext context)
76
{
77
_logger.ApplyingMigrations(db.GetType().FullName);
78
79
- db.Database.Migrate();
+ await db.Database.MigrateAsync();
80
81
context.Response.StatusCode = (int)HttpStatusCode.NoContent;
82
context.Response.Headers.Add("Pragma", new[] { "no-cache" });
0 commit comments