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 a7a98e4 commit 3243757Copy full SHA for 3243757
src/Clean.Architecture.Web/Configurations/MiddlewareConfig.cs
@@ -36,8 +36,8 @@ static async Task SeedDatabase(WebApplication app)
36
try
37
{
38
var context = services.GetRequiredService<AppDbContext>();
39
- // context.Database.Migrate();
40
- context.Database.EnsureCreated();
+ // await context.Database.MigrateAsync();
+ await context.Database.EnsureCreatedAsync();
41
await SeedData.InitializeAsync(context);
42
}
43
catch (Exception ex)
0 commit comments