tap/db/migrate/20150204155216_change_price_to_price_cents.rb
2015-02-04 17:05:02 +01:00

5 lines
129 B
Ruby

class ChangePriceToPriceCents < ActiveRecord::Migration
def change
rename_column :products, :price, :price_cents
end
end