Sha256: 32acc11415dd391be9b2296002b0e2e608d5fb0228d757817dee5e8b79db0994

Contents?: true

Size: 205 Bytes

Versions: 35

Compression:

Stored size: 205 Bytes

Contents

# frozen_string_literal: true

class AddIndexToUserSpreeApiKey < ActiveRecord::Migration[4.2]
  def change
    if table_exists?(:spree_users)
      add_index :spree_users, :spree_api_key
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
solidus_api-4.4.1 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.4.0 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.3.4 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.2.4 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.1.5 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.3.3 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.3.2 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.1.4 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.3.1 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.3.0 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.2.3 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.1.3 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.0.4 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-3.4.6 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.0.3 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.1.2 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.2.2 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-3.4.5 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.2.1 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb
solidus_api-4.2.0 db/migrate/20131017162334_add_index_to_user_spree_api_key.rb