Skip to content

Instantly share code, notes, and snippets.

@JakeAustwick
Created October 24, 2011 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakeAustwick/1309531 to your computer and use it in GitHub Desktop.
Save JakeAustwick/1309531 to your computer and use it in GitHub Desktop.
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.string :name
t.string :url
t.string :comment
t.integer :picture_id, :null => false
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment