Sha256: 6ab80a979ab5683cc3097d983b5fbdf4d380bd9cf9a39018e80c77bb97e02c87

Contents?: true

Size: 207 Bytes

Versions: 99

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literal: true

class AddApiKeyToSpreeUsers < ActiveRecord::Migration[4.2]
  def change
    unless defined?(User)
      add_column :spree_users, :api_key, :string, limit: 40
    end
  end
end

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
solidus_api_devise_token_auth-2.8.0.alpha.13 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.12 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.11 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.10 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.9 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.8 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.7 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.6 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.5 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.4 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.3 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.2 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.1 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha.0 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api_devise_token_auth-2.8.0.alpha db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.7.0 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.6.1 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.6.0 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.6.0.rc1 db/migrate/20100107141738_add_api_key_to_spree_users.rb