summaryrefslogtreecommitdiff
path: root/db/migrate/20140428223903_create_statistics.rb
blob: 09a435f3ffc2f22f1e582ac8e106dd62836f3231 (plain)
1
2
3
4
5
6
7
8
9
10
11
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