mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Blindly throw some more indexes on pokemon_moves.
This commit is contained in:
parent
5a8992036e
commit
b1691804c1
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue