blob: 022bae65b23f8411a1323cd32ea09402fc86bd3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.text :content
t.references :user_author
t.references :user_editor
t.references :blogpost
t.timestamps null: true
end
end
end
|