diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 15:04:26 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 15:04:26 -0500 |
commit | 4e682a9a8596326a2d1faab6c44e5a54918c5ba0 (patch) | |
tree | 048f4e18b6861828df140e52771b95d90d9127d6 /db/migrate/20140304015700_create_matches.rb | |
parent | 11be92e4bac671852fd03922049ca592ae4c9f4e (diff) |
Gemfile.lock
Diffstat (limited to 'db/migrate/20140304015700_create_matches.rb')
-rw-r--r-- | db/migrate/20140304015700_create_matches.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20140304015700_create_matches.rb b/db/migrate/20140304015700_create_matches.rb new file mode 100644 index 0000000..6c0c157 --- /dev/null +++ b/db/migrate/20140304015700_create_matches.rb @@ -0,0 +1,9 @@ +class CreateMatches < ActiveRecord::Migration + def change + create_table :matches do |t| + t.references :tournament, index: true + + t.timestamps + end + end +end |