5 lines
129 B
Ruby
5 lines
129 B
Ruby
class ChangePriceToPriceCents < ActiveRecord::Migration
|
|
def change
|
|
rename_column :products, :price, :price_cents
|
|
end
|
|
end
|