class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.column :user_id, :integer
      t.column :post_id, :integer
      t.column :body, :text
      t.column :created_at, :datetime
    end
  end

  def self.down
    drop_table :comments
  end
end

