Skip to content

Commit

Permalink
Use MigrateAsync instead of Migrate.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Jul 31, 2023
1 parent bf094a6 commit 0a8c74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@

if (context.Database.IsRelational())
{
context.Database.Migrate();
await context.Database.MigrateAsync();
}

await dataService.SetAllDevicesNotOnline();
Expand Down

0 comments on commit 0a8c74d

Please sign in to comment.