You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
711 B
18 lines
711 B
using FluentMigrator;
|
|
using FluentMigrator.Runner;
|
|
using FluentMigrator.Runner.Generators.SQLite;
|
|
using FluentMigrator.Runner.Processors;
|
|
using FluentMigrator.Runner.Processors.Sqlite;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration.Sqlite
|
|
{
|
|
public class MonoSqliteProcessorFactory : MigrationProcessorFactory
|
|
{
|
|
public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
|
|
{
|
|
var factory = new MonoSqliteDbFactory();
|
|
var connection = factory.CreateConnection(connectionString);
|
|
return new SqliteProcessor(connection, new SqliteGenerator(), announcer, options, factory);
|
|
}
|
|
}
|
|
} |