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

Add Stat.is_battle_only.

This commit is contained in:
Eevee 2011-03-29 21:26:57 -07:00
parent db466bbebf
commit 8b81053a90
2 changed files with 11 additions and 9 deletions
pokedex/db

View file

@ -1533,6 +1533,8 @@ class Stat(TableBase):
info=dict(description=u"For offensive and defensive stats, the damage this stat relates to; otherwise None (the NULL value)"))
identifier = Column(Unicode(16), nullable=False,
info=dict(description=u"An identifier", format='identifier'))
is_battle_only = Column(Boolean, nullable=False,
info=dict(description=u"Whether this stat only exists within a battle"))
create_translation_table('stat_names', Stat, 'names',
relation_lazy='joined',