13 lines
239 B
Ruby
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
|