public async Task MigrateAsync() { Logger.LogInformation($"Started {AbpIdentityDbProperties.ConnectionStringName} database migrations..."); Logger.LogInformation("Migrating database schema..."); await _dbSchemaMigrator.MigrateAsync(); Logger.LogInformation("Executing database seed..."); await _dataSeeder.SeedAsync(); Logger.LogInformation("Successfully completed 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."); }