porkchopclub/porkchop

View on GitHub
db/migrate/20160229020715_create_betting_infos.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateBettingInfos < ActiveRecord::Migration
  def change
    create_table :betting_infos do |t|
      t.references :match, index: true, foreign_key: true, null: false

      t.timestamps null: false
    end
  end
end