How did this get left in?

This commit is contained in:
Jordan Brown
2020-04-27 14:20:19 -04:00
parent 408f6e23b2
commit 07fef10382
@@ -313,7 +313,7 @@ namespace Tgstation.Server.Host.Database
if (wasEmpty || (await Database.GetPendingMigrationsAsync(cancellationToken).ConfigureAwait(false)).Any())
{
Logger.LogInformation("Migrating database...");
await Database.EnsureCreatedAsync(cancellationToken).ConfigureAwait(false);
await Database.MigrateAsync(cancellationToken).ConfigureAwait(false);
}
else
Logger.LogDebug("No migrations to apply.");