parsley/db/migrate/20160112214213_create_recipes.rb

16 lines
297 B
Ruby
Raw Normal View History

2016-10-14 12:19:00 -05:00
class CreateRecipes < ActiveRecord::Migration[4.2]
2016-01-12 18:43:00 -06:00
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