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

  def self.down
    drop_table :comments
  end
end
