Sha256: 533c0d5466c145d4c6e4764c0127200e7db6f1bd914d90026348ac39d3786dba

Contents?: true

Size: 259 Bytes

Versions: 10

Compression:

Stored size: 259 Bytes

Contents

class AddReducedPriceToProducts < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration)
  def change
    add_column :products, :reduced_price_cents, :integer
    add_column :products, :reduced_price_currency, :string
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
money-rails-1.15.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.14.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.13.4 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.13.3 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.13.2 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.13.1 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.13.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.12.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.11.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.10.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb