Sha256: de91a5e56f542f5952bdef7bed1ce3c90742bf70d9594fc3b186a7a75a9621d5
Contents?: true
Size: 300 Bytes
Versions: 9
Compression:
Stored size: 300 Bytes
Contents
class AddSalePriceCentsToProduct < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration) def change add_column :products, :sale_price_amount, :integer, default: 0, null: false add_column :products, :sale_price_currency_code, :string end end
Version data entries
9 entries across 9 versions & 1 rubygems