2016-01-12 18:43:00 -06:00
|
|
|
class CreateRecipes < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :recipes do |t|
|
|
|
|
|
|
|
|
t.string :name
|
2016-01-13 17:10:43 -06:00
|
|
|
t.text :description
|
2016-01-12 18:43:00 -06:00
|
|
|
t.text :source
|
|
|
|
t.integer :yields
|
|
|
|
t.integer :total_time
|
|
|
|
t.integer :active_time
|
|
|
|
|
|
|
|
t.timestamps null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|