Skip to content

Instantly share code, notes, and snippets.

@eightbitraptor
Created January 28, 2013 12:41
Show Gist options
  • Save eightbitraptor/4655248 to your computer and use it in GitHub Desktop.
Save eightbitraptor/4655248 to your computer and use it in GitHub Desktop.
class AddNameToComments < ActiveRecord::Migration
def change
add_column :comments, :name, :string # add a string column called name to the table comments
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment