Default new endgames to rating 1500

Closes #17
This commit is contained in:
2026-11-02 21:26:19 +01:00
parent 7658450573
commit 6d0d750ca7
3 changed files with 43 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ defmodule Chesstrainer.Endgames.Endgame do
field :message, :string
field :notes, :string
field :result, Ecto.Enum, values: [:win, :loss, :draw]
field :rating, :integer
field :rating, :integer, default: 1500
field :rating_deviation, :integer
field :times_attempted, :integer
field :times_solved, :integer