mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-10-08 12:41:36 +00:00
- Derive the bad-default constant from the offending literal
(~c"{wormholes}") instead of hand-transcribing its character codes. A typo
in the hardcoded list would have made the WHERE clause match nothing and
silently repaired zero rows. Verified the generated SQL is byte-identical.
- Document why down/0 is deliberately not a mirror of up/0: restoring the
original charlist default would reintroduce the bug, so it drops the default
instead and leaves repaired rows repaired.
- Note that both 20260331192521 and 20260406213852 used exactly this literal,
so the single value catches rows written by either (verified by grep).
- Use Map.keys/1 rather than an unnecessary Elixir.Map prefix -- Map is not
aliased in that test module.