Sha256: 571d16f4eb62a3c77228bffec682ea38cf046e28412748a599fcaaf147258abc

Contents?: true

Size: 268 Bytes

Versions: 20

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true
# This migration comes from spree_api (originally 20120411123334)

class ResizeApiKeyField < ActiveRecord::Migration[4.2]
  def up
    unless defined?(User)
      change_column :spree_users, :api_key, :string, limit: 48
    end
  end
end

Version data entries

20 entries across 20 versions & 7 rubygems

Version Path
solidus_i18n-2.2.0 spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
solidus_i18n-2.1.1 spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
solidus_auth_devise-2.5.4 spec/dummy/db/migrate/20211112052472_resize_api_key_field.spree_api.rb
solidus_i18n-2.1.0 spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
solidus_auth_devise-2.5.3 spec/dummy/db/migrate/20210129115383_resize_api_key_field.spree_api.rb
solidus_auth_devise-2.5.2 spec/dummy/db/migrate/20201006131572_resize_api_key_field.spree_api.rb
solidus_auth_devise-2.5.1 spec/dummy/db/migrate/20201006131572_resize_api_key_field.spree_api.rb
solidus_auth_devise-2.5.0 spec/dummy/db/migrate/20201006131572_resize_api_key_field.spree_api.rb
solidus_reviews-1.4.1 spec/dummy/db/migrate/20200810122138_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.7 spec/dummy/db/migrate/20191128105368_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.6 spec/dummy/db/migrate/20191122155267_resize_api_key_field.spree_api.rb
solidus_drip-0.1.0 spec/dummy/db/migrate/20191101230334_resize_api_key_field.spree_api.rb
solidus_drip-0.0.1 spec/dummy/db/migrate/20191101230334_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.5 spec/dummy/db/migrate/20191028084780_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.4 spec/dummy/db/migrate/20190926134971_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.3 spec/dummy/db/migrate/20190924075665_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.2 spec/dummy/db/migrate/20190920154655_resize_api_key_field.spree_api.rb
solidus_billing_address-0.0.1 spec/dummy/db/migrate/20190823131031_resize_api_key_field.spree_api.rb
solidus_bank_transfer-0.0.1 spec/dummy/db/migrate/20190822070947_resize_api_key_field.spree_api.rb
alchemy-solidus-2.3.0 spec/dummy/db/migrate/20190311112279_resize_api_key_field.spree_api.rb