14 lines
267 B
Ruby
14 lines
267 B
Ruby
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
|
|
end
|
|
end
|
|
end
|