From 8e3e46b7951120f1ec34949d607a7672ad03f820 Mon Sep 17 00:00:00 2001 From: shumakl Date: Thu, 3 Apr 2014 11:52:05 -0400 Subject: run generate.sh --- db/migrate/20140403155011_create_teams.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20140403155011_create_teams.rb (limited to 'db/migrate/20140403155011_create_teams.rb') diff --git a/db/migrate/20140403155011_create_teams.rb b/db/migrate/20140403155011_create_teams.rb new file mode 100644 index 0000000..fdf9a68 --- /dev/null +++ b/db/migrate/20140403155011_create_teams.rb @@ -0,0 +1,9 @@ +class CreateTeams < ActiveRecord::Migration + def change + create_table :teams do |t| + t.references :match, index: true + + t.timestamps + end + end +end -- cgit v1.2.3-2-g168b