Sha256: 9ba3e05461cc0ee575612fae955910307574829f42da8bd93f7c9c3ab3a408ac

Contents?: true

Size: 269 Bytes

Versions: 12

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.9 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.8 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.7 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.6 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.5 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.4 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.3 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.2 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.1 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.5.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.4.0 db/migrate/20120605211305_make_users_email_index_unique.rb
solidus_auth_devise-2.3.0 db/migrate/20120605211305_make_users_email_index_unique.rb