Sha256: f91d818585aadf92a838109df22fd2a46ab6c4bb42b2a38db2fb633010f58aba

Contents?: true

Size: 247 Bytes

Versions: 11

Compression:

Stored size: 247 Bytes

Contents

class MakeUsersEmailIndexUnique < SolidusSupport::Migration[4.2]
  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

11 entries across 11 versions & 2 rubygems

Version Path
solidus_auth_devise-2.2.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0.5 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0.4 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0.3 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0.2 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0.1 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise_devise_token_auth-2.1.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.1.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.0.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-1.6.4 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-1.6.3 db/migrate/20120605211305_make_users_email_index_unique.rb