Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9d06b49913
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.236 kb
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.string :commenter
t.text :body
t.references :post
t.timestamps
end
add_index :comments, :post_id
end
end
Jump to Line
Something went wrong with that request. Please try again.