pokepark / PokemonRaidBot

Telegram bot for organizing Raids in Pokémon Go. Developers & admins are welcome to join https://t.me/PokeParkSupport
https://t.me/PokeParkSupport
GNU Affero General Public License v3.0
48 stars 40 forks source link

[bug] minor: an auto-upgrade will only do a single bump at a time #265

Closed jinnatar closed 2 years ago

jinnatar commented 2 years ago
  1. schema = 2, latest = 4
  2. Request -> autoupgraded to 3
  3. Request -> autoupgraded to 4

If the request in step 2 was dependent on changes in schema v4, then it'll error out and fail.

It's a stupid issue that is unlikely to hurt anyone, but logging a bug so that one of these days I'll dig into why it happens since we do attempt to loop all the upgrade files.