Closed SaintNong closed 6 months ago
I had a look at the database schema whilst developing commit a1be320 - could we just switch challenge_id
in the solve
table to be a string/varchar?
This will be integrated into PR #11.
@SaintNong: please test that this issue is resolved with commit 40eaae5.
Solved
When adding a new challenge, if it is easier than any of the old challenges, it will be sorted to the middle of ChallengeManager.challenges, and the IDs of any preceding challenges will be incorrect by one.
If solve data is persisted after restart, then the solved challenge of some solves will be incorrect, making the leaderboard and the profile graphs incorrectly displayed.