private async Task MigrateHostDatabaseAsync() { Logger.LogInformation("Migrating host database schema..."); await _dbSchemaMigrator.MigrateAsync(); Logger.LogInformation("Executing host database seed..."); await _dataSeeder.SeedAsync(); Logger.LogInformation("Successfully completed host database migrations."); }
public async Task MigrateAsync() { Logger.LogInformation("Started database migrations..."); Logger.LogInformation("Migrating database schema..."); await _dbSchemaMigrator.MigrateAsync(); Logger.LogInformation("Executing database seed..."); await _dataSeeder.SeedAsync(); Logger.LogInformation("Successfully completed database migrations."); }