Sha256: 77301558054197c395c2165ea5ddf1ae73027c3090bf7b227ce99363c5f57634

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

# 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

3 entries across 3 versions & 2 rubygems

Version Path
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091929_add_index_to_user_spree_api_key.spree_api.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091929_add_index_to_user_spree_api_key.spree_api.rb
alchemy-solidus-2.2.0 spec/dummy/db/migrate/20180910094576_add_index_to_user_spree_api_key.spree_api.rb