8 lines
275 B
Ruby
8 lines
275 B
Ruby
class AddRatingToUsers < ActiveRecord::Migration[8.1]
|
|
def change
|
|
# Neutral initial rating. The value lives in the DB; in the future it
|
|
# will be recalculated based on player performance.
|
|
add_column :users, :rating, :integer, null: false, default: 100
|
|
end
|
|
end
|