-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Rolling back add_index should use the same concurrently algorithm #24190
Comments
This issue has been automatically marked as stale because it has not been commented on for at least The resources of the Rails team are limited, and so we are asking for your help. If you can still reproduce this error on the Thank you for all your contributions. |
I've confirmed this is still an issue on |
Still an open issue? I might tackle this one this week or so. |
It is still an issue. There does seem to be an open PR for it though: #24199 |
Steps to reproduce
products
table with an index:rake db:migrate
to run the migrationsrake db:rollback
to undo the index migrationExpected behavior
Since the migration created the index concurrently, I would expect undoing it to drop the index concurrently i.e. run the following SQL:
Actual behavior
Currently undoing the migration does not drop the index concurrently i.e. it runs the following SQL:
System configuration
Rails version: 5.0.0.beta3
Ruby version: ruby-2.2.2
The text was updated successfully, but these errors were encountered: