1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Removed evolution_methods table.

This commit is contained in:
Eevee 2010-05-24 21:31:14 -07:00
parent 78b6a68cd5
commit cd24ebe9ca
2 changed files with 0 additions and 29 deletions
pokedex/db

View file

@ -174,12 +174,6 @@ class EvolutionChain(TableBase):
steps_to_hatch = Column(Integer, nullable=False)
baby_trigger_item = Column(Unicode(12))
class EvolutionMethod(TableBase):
__tablename__ = 'evolution_methods'
id = Column(Integer, primary_key=True, nullable=False)
name = Column(Unicode(64), nullable=False)
description = Column(Unicode(255), nullable=False)
class EvolutionTrigger(TableBase):
__tablename__ = 'evolution_triggers'
id = Column(Integer, primary_key=True, nullable=False)
@ -800,7 +794,6 @@ Pokemon.egg_groups = relation(EggGroup, secondary=PokemonEggGroup.__table__,
order_by=PokemonEggGroup.egg_group_id,
backref='pokemon')
Pokemon.evolution_chain = relation(EvolutionChain, backref='pokemon')
Pokemon.evolution_method = relation(EvolutionMethod)
Pokemon.evolution_children = relation(Pokemon,
secondary=PokemonEvolution.__table__,
primaryjoin=Pokemon.id==PokemonEvolution.from_pokemon_id,