diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-06 22:34:08 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-06 22:34:08 -0500 |
commit | 3ce5876375cbb3057ffc96e2886ba57cbd875dc9 (patch) | |
tree | e59dc46b293cdcd4ad8ad5b33bd4703f65adb0d9 /db/migrate/20140307023423_create_matches.rb | |
parent | ce8b05ed8fa3466c727269daa47ba7df672fdca1 (diff) | |
parent | 70bae69d731afc5300ffa5b176732ebe27d0810f (diff) |
Fixed some merge errors in show.html.erb
Diffstat (limited to 'db/migrate/20140307023423_create_matches.rb')
-rw-r--r-- | db/migrate/20140307023423_create_matches.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140307023423_create_matches.rb b/db/migrate/20140307023423_create_matches.rb new file mode 100644 index 0000000..325863d --- /dev/null +++ b/db/migrate/20140307023423_create_matches.rb @@ -0,0 +1,10 @@ +class CreateMatches < ActiveRecord::Migration + def change + create_table :matches do |t| + t.references :tournament, index: true + t.string :name + + t.timestamps + end + end +end |