Blindly throw some more indexes on pokemon_moves.

This commit is contained in:
Eevee 2010-05-25 22:40:30 -07:00
parent 5a8992036e
commit b1691804c1

View file

@ -571,8 +571,8 @@ class PokemonMove(TableBase):
version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False, autoincrement=False) version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False, autoincrement=False)
move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False, index=True) move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False, index=True)
pokemon_move_method_id = Column(Integer, ForeignKey('pokemon_move_methods.id'), primary_key=True, nullable=False, autoincrement=False) pokemon_move_method_id = Column(Integer, ForeignKey('pokemon_move_methods.id'), primary_key=True, nullable=False, autoincrement=False)
level = Column(Integer, primary_key=True, nullable=True, autoincrement=False) level = Column(Integer, primary_key=True, nullable=True, autoincrement=False, index=True)
order = Column(Integer, nullable=True) order = Column(Integer, nullable=True, index=True)
class PokemonMoveMethod(TableBase): class PokemonMoveMethod(TableBase):
__tablename__ = 'pokemon_move_methods' __tablename__ = 'pokemon_move_methods'