parsley/db/migrate/20160130231838_change_ingredients.rb

10 lines
222 B
Ruby
Raw Normal View History

2016-10-14 12:19:00 -05:00
class ChangeIngredients < ActiveRecord::Migration[4.2]
def change
change_table :recipe_ingredients do |t|
t.remove :custom_density
t.rename :custom_name, :name
t.text :preparation
end
end
end