From 2335f5758bca22ecac9d4e2bd179145949494e79 Mon Sep 17 00:00:00 2001 From: Eevee Date: Tue, 25 May 2010 22:40:30 -0700 Subject: [PATCH] Blindly throw some more indexes on pokemon_moves. --- pokedex/db/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 8bd9c90..cc68c5f 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -571,8 +571,8 @@ class PokemonMove(TableBase): 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) 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) - order = Column(Integer, nullable=True) + level = Column(Integer, primary_key=True, nullable=True, autoincrement=False, index=True) + order = Column(Integer, nullable=True, index=True) class PokemonMoveMethod(TableBase): __tablename__ = 'pokemon_move_methods' -- 2.7.4