summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-22 20:49:06 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-22 20:49:06 -1000
commitbedcd8a185e4197d087b2166afa79ff4dce25f7c (patch)
tree415715d99e29c06b3b6e23626561bb79d26e94e3 /migrations
parent77f5f1d7386811d7e57ab595db48dd8fc2c5ca84 (diff)
Fix slice reallocation bug in GetBoards
The boardMap was storing pointers to Board structs in the boards slice. When the slice grew and reallocated, those pointers became stale, causing cards to be added to old memory locations instead of the current slice. Fixed by storing indices instead of pointers in boardMap. Added tests to verify multiple boards with varying card counts are correctly saved and retrieved. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'migrations')
0 files changed, 0 insertions, 0 deletions