Fluentmigrator.Runner support for multiple assemblies at a time #302

Closed
wants to merge 1 commit into from

5 participants

@MikeBagos

Added support for FluentMigrator.Runner to proccess multiple assemblies at a time, passed as a collection of MigrationAssemblyInfo packages. Kept compatibility with older code as existing constructors were replaced to point to new constructors.

Also fixed the test, which pass. Extensive test were not created/performed.

@tommarien
Collaborator

Mmm, don't see how this should work, what about connectionstrings etc ?

What about them? This is used just to add and process multiple assemblies at a time, so if different databases are processed you can break the operation down foreach database.

Just in case someone is interesting I applied @MikeBagos patch (minor changes) to a recent FluentMigration version (1.1.1).
Code at https://github.com/octaviordz/fluentmigrator.git branch dev.

@nslowes

This will be useful for scenarios I've been thinking about with Profiles contained in separate assemblies from the main Migrations

@daniellee
Collaborator

Do users of FluentMigrator need the ability to apply migrations from multiple assemblies with only one VersionInfo table? Sounds like an edge case to me. This is very similar to #187.

@ghost

Pretty useful ability for modular applications. Thumbs up for this feature.

@tommarien
Collaborator

Should be closed by pulling #467

@tommarien tommarien closed this Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment