mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added Move.type relation.
This commit is contained in:
parent
20d40364b1
commit
7347da558a
1 changed files with 2 additions and 0 deletions
|
@ -375,6 +375,8 @@ EvolutionChain.growth_rate = relation(GrowthRate, backref='evolution_chains')
|
||||||
|
|
||||||
LocationArea.location = relation(Location, backref='areas')
|
LocationArea.location = relation(Location, backref='areas')
|
||||||
|
|
||||||
|
Move.type = relation(Type, backref='moves')
|
||||||
|
|
||||||
Pokemon.abilities = relation(Ability, secondary=PokemonAbility.__table__,
|
Pokemon.abilities = relation(Ability, secondary=PokemonAbility.__table__,
|
||||||
order_by=PokemonAbility.slot,
|
order_by=PokemonAbility.slot,
|
||||||
backref='pokemon')
|
backref='pokemon')
|
||||||
|
|
Loading…
Reference in a new issue