X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/dcd5e418428fbc626e675c3e0cf861cff3c4bff1..b3b3285a703226e551e34a89e59a0c6c4e97b16f:/pokedex/db/tables.py?ds=sidebyside diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 096e678..1de7e7b 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -127,10 +127,11 @@ class Generation(TableBase): main_region = Column(Unicode(16), nullable=False) class GrowthRate(TableBase): + """`formula` is written in LaTeX math notation.""" __tablename__ = 'growth_rates' id = Column(Integer, primary_key=True, nullable=False) - name = Column(Unicode(16), nullable=False) - formula = Column(Unicode(255), nullable=False) + name = Column(Unicode(20), nullable=False) + formula = Column(Unicode(500), nullable=False) class Item(TableBase): __tablename__ = 'items'