diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 19:48:24 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 19:48:24 -0500 |
commit | 63830b0f939db5f6911218950525428420c4d467 (patch) | |
tree | 76e525137c61235cf5c9e1beb8f54820df123058 /db/migrate/20140307003931_create_matches.rb | |
parent | 8e1ca0e4f9107a43fbdf0dac315e3467b0158356 (diff) | |
parent | d72452a5965c0df32a13053ae86bcd529fc0fc9e (diff) |
Merge branch 'clean' into master2
Conflicts:
config/routes.rb
Diffstat (limited to 'db/migrate/20140307003931_create_matches.rb')
-rw-r--r-- | db/migrate/20140307003931_create_matches.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140307003931_create_matches.rb b/db/migrate/20140307003931_create_matches.rb new file mode 100644 index 0000000..325863d --- /dev/null +++ b/db/migrate/20140307003931_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 |