From b09b504fad01988004745363332375697135800a Mon Sep 17 00:00:00 2001 From: tkimia Date: Thu, 10 Apr 2014 17:41:24 -0400 Subject: ran generate.sh --- db/migrate/20140410213838_create_brackets.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20140410213838_create_brackets.rb (limited to 'db/migrate/20140410213838_create_brackets.rb') diff --git a/db/migrate/20140410213838_create_brackets.rb b/db/migrate/20140410213838_create_brackets.rb new file mode 100644 index 0000000..8813bf2 --- /dev/null +++ b/db/migrate/20140410213838_create_brackets.rb @@ -0,0 +1,11 @@ +class CreateBrackets < ActiveRecord::Migration + def change + create_table :brackets do |t| + t.references :user, index: true + t.references :tournament, index: true + t.string :name + + t.timestamps + end + end +end -- cgit v1.2.3-2-g168b