Merge branch 'feature/v4' of https://github.com/tidusjar/Ombi into feature/v4

pull/3923/head
tidusjar 4 years ago
commit 685b97ce8d

@ -64,6 +64,8 @@ namespace Ombi
if (migrate) if (migrate)
{ {
Console.WriteLine("Migrate in progress...");
var migrationTasks = new List<Task>(); var migrationTasks = new List<Task>();
var externalDb = provider.GetRequiredService<ExternalContext>(); var externalDb = provider.GetRequiredService<ExternalContext>();
var ombiDb = provider.GetRequiredService<OmbiContext>(); var ombiDb = provider.GetRequiredService<OmbiContext>();
@ -73,6 +75,7 @@ namespace Ombi
Task.WaitAll(migrationTasks.ToArray()); Task.WaitAll(migrationTasks.ToArray());
Console.WriteLine("Migrate complete.");
Environment.Exit(0); Environment.Exit(0);
} }

Loading…
Cancel
Save