cirandas.net

ref: master

plugins/comment_classification/db/migrate/20130822075623_create_comment_label_user.rb


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

      t.timestamps
    end

  end

  def self.down
    drop_table :comment_classification_plugin_comment_label_user
  end
end