Skip to content

[Rails 7.0] Fix support for different index types #1002

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

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Feb 8, 2022

Fix support for different index types.

Index types were working in Rails 6.0 but were broken in Rails 6.1 by rails/rails#39203. The issue was identified in #999 for Rails 6.1.

This PR is for Rails 7.0. The fix will be backported to the 6-1-stable branch after it is merged into main.

@aidanharan aidanharan changed the title [Rails 7.0] Support different index types [Rails 7.0] Fix support for different index types Feb 8, 2022
@aidanharan aidanharan marked this pull request as ready for review February 8, 2022 20:21
@aidanharan aidanharan requested a review from wpolicarpo February 8, 2022 20:22
@aidanharan
Copy link
Contributor Author

Tests are failing because of a change in Rails 7.0.2 These will be fixed by #1004

@wpolicarpo
Copy link
Member

Could you please add tests for if_not_exists and where options and resolve the conflicts?

@aidanharan
Copy link
Contributor Author

@wpolicarpo Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants