15 lines
285 B
Ruby
15 lines
285 B
Ruby
|
|
class CreateRecipes < ActiveRecord::Migration
|
||
|
|
def change
|
||
|
|
create_table :recipes do |t|
|
||
|
|
t.string :name
|
||
|
|
t.string :duration
|
||
|
|
t.string :ingredients
|
||
|
|
t.string :process
|
||
|
|
t.string :picture_url
|
||
|
|
t.string :original_url
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|