parsley/db/migrate/20160113002615_create_recipe_steps.rb
2016-01-13 17:10:43 -06:00

13 lines
239 B
Ruby

class CreateRecipeSteps < ActiveRecord::Migration
def change
create_table :recipe_steps do |t|
t.integer :recipe_id, index: true
t.integer :sort_order
t.text :step
t.timestamps null: false
end
end
end