diff --git a/src/Gameboard.Api/Extensions/DatabaseStartupExtensions.cs b/src/Gameboard.Api/Extensions/DatabaseStartupExtensions.cs index 03460cd7..95a5b047 100644 --- a/src/Gameboard.Api/Extensions/DatabaseStartupExtensions.cs +++ b/src/Gameboard.Api/Extensions/DatabaseStartupExtensions.cs @@ -26,8 +26,10 @@ public static WebApplication InitializeDatabase(this WebApplication app, AppSett var config = services.GetRequiredService(); var env = services.GetService(); + logger.LogInformation($"Migrating database..."); using var dbContext = services.GetService(); dbContext.Database.Migrate(); + logger.LogInformation($"Database migrated!"); SeedDatabase(env, config, dbContext, settings, logger); return app;