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