class RemoveUniqueConstraint < ActiveRecord::Migration
  def up
    remove_index "group_items", ["group_id", "name"]
    add_index "group_items", ["group_id", "name"], :unique => false
  end

  def down
    remove_index "group_items", ["group_id", "name"]
    add_index "group_items", ["group_id", "name"], :unique => true
  end
end
