mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
got basic relationships working
added support for embedded documents.
This commit is contained in:
parent
b6fc731db8
commit
fc641baab3
51 changed files with 359 additions and 127 deletions
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using FluentMigrator.Runner;
|
||||
using FluentMigrator.Runner.Initialization;
|
||||
using NzbDrone.Core.Datastore.Migration.Sqlite;
|
||||
using FluentMigrator.Runner.Processors.Sqlite;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migration.Framework
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||
};
|
||||
|
||||
var options = new MigrationOptions { PreviewOnly = false, Timeout = 60 };
|
||||
var factory = new MonoSqliteProcessorFactory();
|
||||
var factory = new SqliteProcessorFactory();
|
||||
var processor = factory.Create(connectionString, _announcer, options);
|
||||
var runner = new MigrationRunner(assembly, migrationContext, processor);
|
||||
runner.MigrateUp(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue