d7154d4832
2214237c39
1 2 3 4 5
6
7 8 9
10 11
class CreateComments < ActiveRecord::Migration def change create_table :comments do |t| t.string :commenter t.text :body t.references :post, index: true t.timestamps end end end