mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
dcf9ef23e7
This commit originally included Basculin, too, but then magical dealt with that before I pushed. Anyway, the query I used should have caught any other similar cases, too: insert into pokemon_moves select p.id, 14, pm.move_id, 2, 0, null from pokemon_moves pm join pokemon p on pm.pokemon_id=p.species_id and p.is_default=false where pm.version_group_id=14 and pm.pokemon_move_method_id=2; The join condition is cheating a little, but it does happen to work; it joins a pokemon_move to all non-default forms of the same Pokémon. If being default and having id=species_id didn't go hand-in-hand, I'm pretty sure it'd require two joins to pokemon. |
||
---|---|---|
.. | ||
data/csv | ||
db | ||
doc | ||
struct | ||
tests | ||
util | ||
__init__.py | ||
compatibility.py | ||
defaults.py | ||
formulae.py | ||
lookup.py | ||
main.py | ||
roomaji.py |