Sha256: f125bb1eaa0f2a2c90b5ed3ce3068b7f725c1bd5e8f4df6622058352ca4df445

Contents?: true

Size: 197 Bytes

Versions: 10

Compression:

Stored size: 197 Bytes

Contents

class AddReducedPriceToProducts < 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.9.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.8.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.7.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.6.2 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.6.1 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.6.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.5.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.4.1 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.4.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb
money-rails-1.3.0 spec/dummy/db/migrate/20150126231442_add_reduced_price_to_products.rb