jpoehls / dotnetmigrations

DotNetMigrations is a database migration framework that assists in managing and versioning database changes. It was originally designed as a straight port of the rails functionality located in the Ruby on Rails framework; however, has recently moved into a more open framework thanks to the power of the Managed Extensibility Framework.
Other
36 stars 10 forks source link

Specify migrations folder from command line #4

Open jpoehls opened 14 years ago

jpoehls commented 14 years ago

It would be useful when writing batch files to be able to provide the path to the migration files from the command line.

As it is, it always looks for the path "migrate" from the current working directory.

jpoehls commented 14 years ago

From James Eggers: The migration directory can be changed via the configuration file currently. Regardless, we'll see what it'll do in order to implement such a request.

kieranbenton commented 13 years ago

This would actually be useful to us too - under certain circumstances (until we can properly feature branch - we're held up by other factors at the moment) we would love to have two sets of migrations for two related products which are sharing the same DB but are evolving at different rates. e.g. /migrations and /migrations-otherproject.

Again if no one else is working on this I could look at it?

divan-9 commented 12 years ago

And my usecase in addition: Our application has two databases, and each of them should be updated using deploy scripts. Deploy scripts should run on different servers with different migrate folders. And I realy don't want to support config files for each environment. Looks like it's tricky to implement the plugin without touching core code