class AddChoiceForeignKey < ActiveRecord::Migration
  def change
    add_foreign_key "choices", "answers"
  end
end

class AddChoiceForeignKey < ActiveRecord::Migration
  def change
    remove_foreign_key "choices", "answers" rescue "No key to remove..."
    add_foreign_key "choices", "answers"
  end
end

Fix previous migration (remove FK before adding it).
2283: Fix previous migration (remove FK before adding it).

This is necessary because the staging database already have it. Since
the local one will not have it, a rescue is also needed.
