From ae3b9a846a1a08865bc8fe2f38a24bbb01e8622c Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Sat, 1 Mar 2014 19:59:36 -0500 Subject: Made the start script sent 2> to a file called server.talk for later reference. --- db/migrate/20140304015412_create_matches.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20140304015412_create_matches.rb (limited to 'db/migrate/20140304015412_create_matches.rb') diff --git a/db/migrate/20140304015412_create_matches.rb b/db/migrate/20140304015412_create_matches.rb new file mode 100644 index 0000000..6c0c157 --- /dev/null +++ b/db/migrate/20140304015412_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 -- cgit v1.2.3-54-g00ecf