Sha256: b4dd6a6ccf86eeacebdb06f2576cd463be7a2ea5c65e7c7cd6685afc0000edcc

Contents?: true

Size: 216 Bytes

Versions: 35

Compression:

Stored size: 216 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

35 entries across 35 versions & 1 rubygems

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