add player rating to the db
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user