Skip to content

Commit

Permalink
Update TestcontainersTestDatabase.cs
Browse files Browse the repository at this point in the history
updated to await MigrateAsync()
  • Loading branch information
southernsun authored and jasontaylordev committed Nov 18, 2024
1 parent 91df39f commit 81e5ae1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public async Task InitialiseAsync()

var context = new ApplicationDbContext(options);

context.Database.Migrate();
await context.Database.MigrateAsync();

_respawner = await Respawner.CreateAsync(_connectionString, new RespawnerOptions
{
Expand Down

0 comments on commit 81e5ae1

Please sign in to comment.