tap/db/migrate/20150204155216_change_price_to_price_cents.rb

6 lines
129 B
Ruby
Raw Normal View History

2015-02-04 16:05:02 +00:00
class ChangePriceToPriceCents < ActiveRecord::Migration
def change
rename_column :products, :price, :price_cents
end
end