20160829101821_create_blogposts.rb 180 Bytes
Newer Older
Milan's avatar
Milan committed
1
2
3
4
5
6
7
8
9
10
class CreateBlogposts < ActiveRecord::Migration[5.0]
  def change
    create_table :blogposts do |t|
      t.string :title
      t.text :body

      t.timestamps
    end
  end
end