Skip to content
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

Adding test to PostgreSQL database to mimic case_insensitive indexes that breaks RescueFromDuplicate.missing_unique_indexes #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielnc
Copy link

@danielnc danielnc commented Feb 8, 2019

I am not 100% sure how to properly fix this test, but I opened this PR to start the discussion, happy to work on it with some guidance

…that breaks RescueFromDuplicate.missing_unique_indexes
@gmalette
Copy link
Contributor

gmalette commented Mar 1, 2019

Sorry for the late reply, I just found time to have a look at this.
It appears to me that this is actually an issue in Active Record. The ActiveRecord::ConnectionAdapters::IndexDefinition#columns doesn't return an array for the columns in this case.

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.

2 participants