Update the form group description column. #210
authorZhorken <zhorken@gmail.com>
Wed, 26 May 2010 18:46:01 +0000 (14:46 -0400)
committerZhorken <zhorken@gmail.com>
Wed, 26 May 2010 18:46:01 +0000 (14:46 -0400)
I meant to include this in the last commit.  Whoops.

Rotom's description is *really long*, so I needed to bump the length up
to fit it.  Also changed it to an RstTextColumn.

pokedex/db/tables.py

index 8033879..8bd9c90 100644 (file)
@@ -543,7 +543,7 @@ class PokemonFormGroup(TableBase):
     __tablename__ = 'pokemon_form_groups'
     pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False)
     is_battle_only = Column(Boolean, nullable=False)
-    description = Column(Unicode(512), nullable=False)
+    description = Column(rst.RstTextColumn(1024), nullable=False)
 
 class PokemonFormSprite(TableBase):
     __tablename__ = 'pokemon_form_sprites'