-
Notifications
You must be signed in to change notification settings - Fork 565
Cannot run rake db:rollback when reversable add_column has several options #359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is this still the case for the 4.2 adapter? |
I don't know. I can't use the 4.2 adapter since all my clients are still SQL Server 2005 (yeah, they should upgrade!) |
Sorry to hear that, I would be more than happy to take a pull request to our |
I have this error for the 4.2 adapter myself. |
This is an issue even when running against master. https://gist.github.com/kevinsheffield/ae8223671dc0c53b272d I did notice the method signatures for remove_column are different from the abstract_adapter vs this one... Abstract : def remove_column(table_name, column_name, type = nil, options = {}) |
Thanks @kevinsheffield I have made that arity change to master. Can someone confirm this addresses the issue? |
Thanks @metaskills, sorry went on a vacation but this fix does address the issue. Thanks again! |
Made this change in 4-1-stable branch. Will have a release out shortly. |
Cannot run rake db:rollback when reversable add_column has several options as follows:
rake db:migrate && rake db:rollback:
The text was updated successfully, but these errors were encountered: