TheCorrespondingSquares/chess-app

View on GitHub
db/migrate/20170522180100_add_user_to_games.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddUserToGames < ActiveRecord::Migration[5.0]
  def change
    add_reference :games, :user, foreign_key: true
  end
end