tap/db/migrate/20150707162949_add_calories_to_products.rb

6 lines
119 B
Ruby

class AddCaloriesToProducts < ActiveRecord::Migration
def change
add_column :products, :calories, :int
end
end