Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateComments < ActiveRecord::Migration
- def change
- create_table :comments do |t|
- t.string :commenter
- t.text :body
- t.references :blog_post
- t.timestamps
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement