dradovic / MigSharp

Mig# (MigSharp) is a .NET framework for database migrations and versioning
Other
106 stars 34 forks source link

List pending migration without applying them #27

Closed jfburdet closed 12 years ago

jfburdet commented 13 years ago

As dicussed by email, having a way to fetch pending IMigration without applying them would be a nice feature allowing me to implemend a "Preview" feature.

One should look to extend IMigrationBatch interface.

dradovic commented 13 years ago

Just to precise this issue: you can fetch pending migrations without executing them. But this only gives you a count. You are looking for the timestamps/tags of the pending migrations. This information is not available through the current interfaces.

This feature should be looked at when resolving issue #25.

dradovic commented 13 years ago

I've just committed a first draft of this feature. It will be contained in v2.0. Please have a look if the new API satisfies your needs.

dradovic commented 12 years ago

Just released in 2.0.0.