From 4c5c8b978d6bc70811e95e6da5afd06ec7a2e27e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 29 Apr 2014 03:47:29 -0400 Subject: ran ./generate.sh --- db/migrate/20140429074519_create_statistics.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 db/migrate/20140429074519_create_statistics.rb (limited to 'db/migrate/20140429074519_create_statistics.rb') diff --git a/db/migrate/20140429074519_create_statistics.rb b/db/migrate/20140429074519_create_statistics.rb new file mode 100644 index 0000000..09a435f --- /dev/null +++ b/db/migrate/20140429074519_create_statistics.rb @@ -0,0 +1,12 @@ +class CreateStatistics < ActiveRecord::Migration + def change + create_table :statistics do |t| + t.references :user, index: true + t.references :match, index: true + t.string :name + t.text :json_value + + t.timestamps + end + end +end -- cgit v1.2.3