tap/db/migrate/20141208160113_remove_purchase_price_from_products.rb
2014-12-08 17:03:54 +01:00

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