mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
6d81374fb1
They were cyclically off by one, so e.g. machine 0 mapped to tm01, machine 99 wrapped around to tm00, machine 100 mapped to tr01, and machine 199 mapped to tr00. The moves seem to be right though. update machines m set item_id = (select item_id from machines m2 where m2.machine_number = (m.machine_number+99) % 100 + case when m.machine_number >= 100 then 100 else 0 end and version_group_id = 20) where version_group_id = 20; |
||
---|---|---|
.. | ||
csv |