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