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-3.2.9 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.8 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.7 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.6 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.1.9 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.5 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.4 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.3 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.1.8 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.0.8 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.2 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.1 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.0 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.2.0.alpha db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.0.7 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.11.17 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.1.7 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-2.11.16 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.0.6 db/migrate/20100107141738_add_api_key_to_spree_users.rb
solidus_api-3.1.6 db/migrate/20100107141738_add_api_key_to_spree_users.rb