Skip to content

Instantly share code, notes, and snippets.

@thoughtpunch
Created January 24, 2011 19:13
Show Gist options
  • Save thoughtpunch/793748 to your computer and use it in GitHub Desktop.
Save thoughtpunch/793748 to your computer and use it in GitHub Desktop.
Posts_Schema
create_table "posts", :force => true do |t|
t.string "sender", :null => false
t.string "receiver", :null => false
t.text "interaction", :default => "What happened?"
t.integer "score", :default => 0, :null => false
t.boolean "approved", :default => false
t.datetime "created_at"
t.datetime "updated_at"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment