From 0b4cdde893f87ad5d7e1179d3a18409dc485962f Mon Sep 17 00:00:00 2001 From: Philippe Matray Date: Fri, 2 Sep 2016 14:08:36 +0200 Subject: [PATCH] Change Unicode(79) to UnicodeText --- pokedex/db/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 5c4fbc9..ec57982 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -1276,7 +1276,7 @@ class MoveDamageClass(TableBase): identifier = Column(Unicode(79), nullable=False, doc=u"An identifier", info=dict(format='identifier')) - color_code = Column(Unicode(79), nullable=True, + color_code = Column(UnicodeText, nullable=True, doc=u"The ARGB color code of the DamageClass") create_translation_table('move_damage_class_prose', MoveDamageClass, 'prose', @@ -2160,7 +2160,7 @@ class Type(TableBase): doc=u"The ID of the generation this type first appeared in.") damage_class_id = Column(Integer, ForeignKey('move_damage_classes.id'), nullable=True, doc=u"The ID of the damage class this type's moves had before Generation IV, null if not applicable (e.g. ???).") - color_code = Column(Unicode(79), nullable=True, + color_code = Column(UnicodeText, nullable=True, doc=u"The ARGB color code of the type") create_translation_table('type_names', Type, 'names',