summaryrefslogtreecommitdiff
path: root/db/migrate/20140617183710_create_threadreplies.rb
blob: ff6a81052ff27432e8ab714f0731078ba9655493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateThreadreplies < ActiveRecord::Migration
  def change
    create_table :threadreplies do |t|
      t.text       :content

      t.references :user_author
      t.references :user_editor
      t.references :forumthread

      t.timestamps null: true
    end
  end
end