Sha256: 466091984aabec5cce1d3fe4fc220f1bc57f144dfd39d7136546bcca5f938437

Contents?: true

Size: 262 Bytes

Versions: 25

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true
# This migration comes from spree_api (originally 20131017162334)

class AddIndexToUserSpreeApiKey < ActiveRecord::Migration[4.2]
  def change
    unless defined?(User)
      add_index :spree_users, :spree_api_key
    end
  end
end

Version data entries

25 entries across 25 versions & 9 rubygems

Version Path
solidus_i18n-2.2.0 spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
solidus_i18n-2.1.1 spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
solidus_auth_devise-2.5.4 spec/dummy/db/migrate/20211112052474_add_index_to_user_spree_api_key.spree_api.rb
solidus_reports-1.0.0 spec/dummy/db/migrate/20211108200436_add_index_to_user_spree_api_key.spree_api.rb
solidus_i18n-2.1.0 spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
solidus_auth_devise-2.5.3 spec/dummy/db/migrate/20210129115385_add_index_to_user_spree_api_key.spree_api.rb
solidus_auth_devise-2.5.2 spec/dummy/db/migrate/20201006131574_add_index_to_user_spree_api_key.spree_api.rb
solidus_auth_devise-2.5.1 spec/dummy/db/migrate/20201006131574_add_index_to_user_spree_api_key.spree_api.rb
solidus_auth_devise-2.5.0 spec/dummy/db/migrate/20201006131574_add_index_to_user_spree_api_key.spree_api.rb
solidus_reviews-1.4.1 spec/dummy/db/migrate/20200810122140_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.7 spec/dummy/db/migrate/20191128105370_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.6 spec/dummy/db/migrate/20191122155269_add_index_to_user_spree_api_key.spree_api.rb
solidus_drip-0.1.0 spec/dummy/db/migrate/20191101230336_add_index_to_user_spree_api_key.spree_api.rb
solidus_drip-0.0.1 spec/dummy/db/migrate/20191101230336_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.5 spec/dummy/db/migrate/20191028084782_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.4 spec/dummy/db/migrate/20190926134973_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.3 spec/dummy/db/migrate/20190924075667_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.2 spec/dummy/db/migrate/20190920154657_add_index_to_user_spree_api_key.spree_api.rb
solidus_billing_address-0.0.1 spec/dummy/db/migrate/20190823131033_add_index_to_user_spree_api_key.spree_api.rb
solidus_bank_transfer-0.1.0 spec/dummy/db/migrate/20190822093466_add_index_to_user_spree_api_key.spree_api.rb