Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 25th, 2012  |  syntax: Rails  |  size: 0.18 KB  |  views: 1  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class CreatePlayers < ActiveRecord::Migration
  2.   def change
  3.     create_table :players do |t|
  4.         t.string "name"
  5.         t.references :results
  6.       t.timestamps
  7.     end
  8.   end
  9. end
clone this paste RAW Paste Data