class RemoveRatingFromPlayers < ActiveRecord::Migration[8.1]
|
|
def change
|
|
# The results screen no longer asks "did you like this game?", so the vote
|
|
# and the admin panel reading it are gone along with these columns.
|
|
remove_index :players, :rating
|
|
remove_column :players, :rating, :integer
|
|
remove_column :players, :rated_at, :datetime
|
|
end
|
|
end
|