From cd1fabe40ca4d290df33a2590f3a1f2072103972 Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Thu, 20 Feb 2014 17:13:51 -0500 Subject: fix datatype names in generate.sh --- db/migrate/20140304014842_create_matches.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20140304014842_create_matches.rb (limited to 'db/migrate/20140304014842_create_matches.rb') diff --git a/db/migrate/20140304014842_create_matches.rb b/db/migrate/20140304014842_create_matches.rb new file mode 100644 index 0000000..6c0c157 --- /dev/null +++ b/db/migrate/20140304014842_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