Cleanup and more fixes
This commit is contained in:
@@ -35,11 +35,11 @@ public class TestcontainersTestDatabase : ITestDatabase
|
||||
|
||||
var context = new ApplicationDbContext(options);
|
||||
|
||||
context.Database.Migrate();
|
||||
await context.Database.MigrateAsync();
|
||||
|
||||
_respawner = await Respawner.CreateAsync(_connectionString, new RespawnerOptions
|
||||
{
|
||||
TablesToIgnore = new Respawn.Graph.Table[] { "__EFMigrationsHistory" }
|
||||
TablesToIgnore = ["__EFMigrationsHistory"]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user