add player rating to the db

This commit is contained in:
2026-10-25 17:10:40 +03:00
parent acdaebd491
commit 765a3365bd
9 changed files with 180 additions and 147 deletions
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.1].define(version: 2026_09_20_183621) do
ActiveRecord::Schema[8.1].define(version: 2026_10_05_000000) do
create_table "active_storage_attachments", force: :cascade do |t|
t.bigint "blob_id", null: false
t.datetime "created_at", null: false
@@ -52,6 +52,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_09_20_183621) do
t.datetime "created_at", null: false
t.string "nickname", null: false
t.string "password_digest", null: false
t.integer "rating", default: 100, null: false
t.datetime "updated_at", null: false
t.index ["nickname"], name: "index_users_on_nickname", unique: true
end