Sha256: c1c1efa08530e51c65ddff2263465732d83afe2acba0643248f074b54e15b894

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

# This migration comes from solidus_auth (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"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103639_make_users_email_index_unique.solidus_auth.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112591_make_users_email_index_unique.solidus_auth.rb