15 lines
266 B
Ruby
15 lines
266 B
Ruby
class CreateRecipes < ActiveRecord::Migration
|
|
def change
|
|
create_table :recipes do |t|
|
|
|
|
t.string :name
|
|
t.text :source
|
|
t.integer :yields
|
|
t.integer :total_time
|
|
t.integer :active_time
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|