class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.references :post
      t.text :comment
      t.datetime :created_at
      t.timestamps
    end
  end

  def self.down
    drop_table :comments
  end
end
