# This migration comes from spree (originally 20120605211305)
class MakeUsersEmailIndexUnique < ActiveRecord::Migration
  def up
    add_index "spree_users", ["email"], :name => "email_idx_unique", :unique => true
  end

  def down
    remove_index "spree_users", :name => "email_idx_unique"
    add_index "spree_users", ["email"], :name => "email_idx_unique"
  end
end
