WIA/db/migrate/20120505032057_create_blogs.rb

12 lines
199 B
Ruby
Raw Normal View History

2012-05-04 23:55:58 -04:00
class CreateBlogs < ActiveRecord::Migration
def change
create_table :blogs do |t|
t.string :title
t.text :body
t.datetime :release
t.timestamps
end
end
end