-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bugfix/fix remove index add index 125 #126
Conversation
c3128ad
to
f362550
Compare
We have discussed this modular approach some while ago. Since we have a lot of issues with those method signatures, I've tried to separate modules. I still don't like it (naming and default behavior, mostly), but this solves the issue and we have removed all the inline checks of ruby versions and rails versions that were causing headaches |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add tests on :add_index on temporal table without name option.
f362550
to
79eed4e
Compare
1030c27
to
c3e1317
Compare
The signature of `add_index` and `remove_index` is different among Rails 6.1 and older Rails versions. The previous implementation with conditional checking did not cover all the cases This approach conditionally requires implementations basing on AR version Fix #125
c3e1317
to
fe0d525
Compare
No description provided.