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

Added ability effects. Rewrote short effects.

This commit is contained in:
Zhorken 2010-05-04 02:01:34 -04:00
parent e03d767b99
commit 641df3649d
2 changed files with 476 additions and 125 deletions
pokedex/db

View file

@ -18,8 +18,9 @@ class Ability(TableBase):
id = Column(Integer, primary_key=True, nullable=False)
name = Column(Unicode(24), nullable=False)
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False)
effect = Column(rst.RstTextColumn(5120), nullable=False)
short_effect = Column(rst.RstTextColumn(255), nullable=False)
flavor_text = Column(Unicode(64), nullable=False)
effect = Column(Unicode(255), nullable=False)
class Berry(TableBase):
__tablename__ = 'berries'