mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added ability effects. Rewrote short effects. #39
This commit is contained in:
parent
e03d767b99
commit
641df3649d
2 changed files with 476 additions and 125 deletions
pokedex/db
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue