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/20140306202156_create_tournaments.rb | |
parent | b173c81942050940c99108f1eddd1e93dc3d8134 (diff) | |
parent | 50371ba04b52f74bfc2ceb05a429e072ad4848bb (diff) |
Merge branch 'clean'
Diffstat (limited to 'db/migrate/20140306202156_create_tournaments.rb')
-rw-r--r-- | db/migrate/20140306202156_create_tournaments.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20140306202156_create_tournaments.rb b/db/migrate/20140306202156_create_tournaments.rb new file mode 100644 index 0000000..36fcf7e --- /dev/null +++ b/db/migrate/20140306202156_create_tournaments.rb @@ -0,0 +1,9 @@ +class CreateTournaments < ActiveRecord::Migration + def change + create_table :tournaments do |t| + t.references :game, index: true + + t.timestamps + end + end +end |