cirandas.net

ref: master

plugins/comment_group/db/migrate/20121220201629_add_group_id_to_comment.rb


1
2
3
4
5
6
7
8
9
class AddGroupIdToComment < ActiveRecord::Migration
  def self.up
    add_column :comments, :group_id, :integer
  end

  def self.down
    remove_column :comments, :group_id
  end
end