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

Use the index name explicitly provided in a migration when reverting. #8868

Closed
wants to merge 1 commit into from

Commits on Mar 8, 2013

  1. If an index can't be found by column, use the index name.

    schema_statements uses the column name by default to construct the index name, and then raises an exception if it doesn't exist, even if the name option is specified, which causes rails#8858.  this commit makes index_name_for_remove fall back to constructing the index name to remove based on the name option.
    heartpunk committed Mar 8, 2013
    Copy the full SHA
    b6226c3 View commit details
    Browse the repository at this point in the history