cirandas.net

ref: master

plugins/comment_classification/db/migrate/20130829144037_create_comment_status_user.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
class CreateCommentStatusUser < ActiveRecord::Migration
  def self.up
    create_table :comment_classification_plugin_comment_status_user do |t|
      t.references  :profile
      t.references  :comment
      t.references  :status
      t.text        :reason

      t.timestamps
    end
  end

  def self.down
    drop_table :comment_classification_plugin_comment_status_user
  end
end