7 lines
191 B
Ruby
7 lines
191 B
Ruby
|
class RemovePurchasePriceFromProducts < ActiveRecord::Migration
|
||
|
def change
|
||
|
remove_column :products, :purchase_price, :integer
|
||
|
rename_column :products, :sale_price, :price
|
||
|
end
|
||
|
end
|