parsley/db/migrate/20160113002615_create_recipe_steps.rb
2016-01-12 18:43:00 -06:00

13 lines
235 B
Ruby

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