porkchopclub/porkchop

View on GitHub
db/migrate/20150313023251_remove_elo_rating_from_player.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RemoveEloRatingFromPlayer < ActiveRecord::Migration
  def up
    remove_column :players, :elo
  end

  def down
    add_column :players, :elo, :integer, default: 1000
  end
end