Closed JamesMGreene closed 9 years ago
Thanks @JamesMGreene , sorry it took me so long to take a look. The PR is great but I'd ask for one small change - please simplify the test down to its essence. There is no need to test so many cases for such a basic change. Just verifying that the parameter is passed in once will suffice.
If you say so. :stuck_out_tongue_winking_eye:
Updated with simplified test.
Thanks for your contribution @JamesMGreene - just released this.
Include the migration itself as an argument to migration callbacks.
Fixes #34.
More subtle effects:
this
context of the migration callbacks will now default to being the migration itself.Documentation of this new enhancement has been omitted as per @zol's request in #34.