Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Automatically generated revert isn't correct for index

#6793

On the latest 3.1.0.rc1 branch, I used the line in a migration:

  def change
    add_index :some_table, [:column1, :column2], :unique => true, :name => "some_table_unique_entries"
  end

The new automatically generated rollback action attempted to revert this change with:

  remove_index :some_table, [:column1, :column2]

which failed because the generated index name from this did not match the overridden index name.

Reported by David Workman · May 22nd, 2011 @ 11:17 AM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

No comments yet.