mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Added our own custom migrations, a lot easier to migrate DB versions now.
This commit is contained in:
parent
171c64fe8e
commit
6e3339ad3c
16 changed files with 492 additions and 30 deletions
|
@ -32,6 +32,7 @@ using Ninject.Planning.Bindings.Resolvers;
|
|||
using NLog;
|
||||
|
||||
using Owin;
|
||||
using PlexRequests.Core.Migration;
|
||||
using PlexRequests.Services.Jobs;
|
||||
using PlexRequests.UI.Helpers;
|
||||
using PlexRequests.UI.Jobs;
|
||||
|
@ -67,6 +68,10 @@ namespace PlexRequests.UI
|
|||
Debug.WriteLine("Finished bootstrapper");
|
||||
var scheduler = new Scheduler();
|
||||
scheduler.StartScheduler();
|
||||
|
||||
var runner = kernel.Get<IMigrationRunner>();
|
||||
runner.MigrateToLatest();
|
||||
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue