mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 09:02:41 +01:00
How did this get left in?
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user