public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options) { var factory = new MigrationDbFactory(); var connection = factory.CreateConnection(connectionString); var generator = new SqliteGenerator() { compatabilityMode = CompatabilityMode.STRICT }; return new NzbDroneSqliteProcessor(connection, generator, announcer, options, factory); }
public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options) { var factory = new MigrationDbFactory(); var connection = factory.CreateConnection(connectionString); var generator = new SQLiteGenerator { compatabilityMode = CompatabilityMode.STRICT }; return(new NzbDroneSqliteProcessor(connection, generator, announcer, options, factory)); }