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/20140304020937_create_tournaments.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/20140304020937_create_tournaments.rb')
-rw-r--r-- | db/migrate/20140304020937_create_tournaments.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20140304020937_create_tournaments.rb b/db/migrate/20140304020937_create_tournaments.rb new file mode 100644 index 0000000..36fcf7e --- /dev/null +++ b/db/migrate/20140304020937_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 |