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

Fix natures.game_index

This commit is contained in:
Andrew Ekstedt 2014-07-03 17:25:26 -07:00
parent 341f6bbc83
commit 16c1d2c278
2 changed files with 26 additions and 26 deletions
pokedex/db

View file

@ -1393,7 +1393,7 @@ class Nature(TableBase):
likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False,
info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)"))
game_index = Column(Integer, unique=True, nullable=False,
info=dict(description=u"This nature's internal order in the games (starting from 1, not 0)."))
info=dict(description=u"This nature's internal ID in the games"))
@property
def is_neutral(self):