Skip to content

Add support for migration dry runs. - #4

Open
endofunky wants to merge 1 commit into
mongoid:masterfrom
endofunky:migration-dry-run
Open

endofunky wants to merge 1 commit into
mongoid:masterfrom
endofunky:migration-dry-run

Conversation

@endofunky

Copy link
Copy Markdown

In dry runs, only the execution order will be logged. No migrations will be executed or marked as executed. Unfortunately, Rake already uses --dry-run, so this is added as a separate task named "evolver:migrate:dry".

Let me know if you think this is useful. At work we ran into a few cases where we needed it (after a bunch of late, complex merges).

In dry runs, only the execution order will be logged. No migrations
will be executed or marked as executed. Unfortunately, Rake already
uses --dry-run, so this is added as a separate task named
"evolver:migrate:dry".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant