Sha256: 365bbae6d4dbcd01075bdb4294443713ab78fa06e64112620be2094b79c787ba

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

# This migration comes from spree_api (originally 20120530054546)
class RenameApiKeyToSpreeApiKey < ActiveRecord::Migration[4.2]
  def change
    unless defined?(User)
      rename_column :spree_users, :api_key, :spree_api_key
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091928_rename_api_key_to_spree_api_key.spree_api.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091928_rename_api_key_to_spree_api_key.spree_api.rb
alchemy-solidus-2.2.0 spec/dummy/db/migrate/20180910094575_rename_api_key_to_spree_api_key.spree_api.rb