tap/db/migrate/20141208160113_remove_purchase_price_from_products.rb

7 lines
191 B
Ruby
Raw Normal View History

class RemovePurchasePriceFromProducts < ActiveRecord::Migration
def change
remove_column :products, :purchase_price, :integer
rename_column :products, :sale_price, :price
end
end