Sha256: 36305d7c82903024d98eae28b704973d2dc969aa774c5f40a281579c60543f20

Contents?: true

Size: 211 Bytes

Versions: 35

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

35 entries across 35 versions & 1 rubygems

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