diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-03 11:40:05 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-03 11:40:05 -0500 |
commit | b59aa7c21ae04a399639209717b980d731c5bf13 (patch) | |
tree | 1458b7c7deb250c460850f46b204891532ae967c /db/migrate/20140304020957_create_user_team_pairs.rb | |
parent | b21c833a0974b79585d94e2afa4db980a5061123 (diff) |
Some of the stuff I forgot to commit last night. Updated and cleaned up some pages as well as getting the gameType listing to work.
Diffstat (limited to 'db/migrate/20140304020957_create_user_team_pairs.rb')
-rw-r--r-- | db/migrate/20140304020957_create_user_team_pairs.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140304020957_create_user_team_pairs.rb b/db/migrate/20140304020957_create_user_team_pairs.rb new file mode 100644 index 0000000..2c492ac --- /dev/null +++ b/db/migrate/20140304020957_create_user_team_pairs.rb @@ -0,0 +1,10 @@ +class CreateUserTeamPairs < ActiveRecord::Migration + def change + create_table :user_team_pairs do |t| + t.references :user, index: true + t.references :team, index: true + + t.timestamps + end + end +end |