Added Move.type relation.

This commit is contained in:
Eevee 2009-07-27 19:09:11 -07:00
parent 20d40364b1
commit 7347da558a

View file

@ -375,6 +375,8 @@ EvolutionChain.growth_rate = relation(GrowthRate, backref='evolution_chains')
LocationArea.location = relation(Location, backref='areas')
Move.type = relation(Type, backref='moves')
Pokemon.abilities = relation(Ability, secondary=PokemonAbility.__table__,
order_by=PokemonAbility.slot,
backref='pokemon')