diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 15:23:37 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 15:23:37 -0500 |
commit | 39f373778e73c54952dddd11e87f4ba354471622 (patch) | |
tree | 3c45c1a85e49306732f349ad2d239df58daeb843 /db/migrate/20140306202224_create_team_match_pairs.rb | |
parent | b173c81942050940c99108f1eddd1e93dc3d8134 (diff) | |
parent | 50371ba04b52f74bfc2ceb05a429e072ad4848bb (diff) |
Merge branch 'clean'
Diffstat (limited to 'db/migrate/20140306202224_create_team_match_pairs.rb')
-rw-r--r-- | db/migrate/20140306202224_create_team_match_pairs.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140306202224_create_team_match_pairs.rb b/db/migrate/20140306202224_create_team_match_pairs.rb new file mode 100644 index 0000000..8fac07e --- /dev/null +++ b/db/migrate/20140306202224_create_team_match_pairs.rb @@ -0,0 +1,10 @@ +class CreateTeamMatchPairs < ActiveRecord::Migration + def change + create_table :team_match_pairs do |t| + t.references :team, index: true + t.references :match, index: true + + t.timestamps + end + end +end |