Change Unicode(79) to UnicodeText

This commit is contained in:
Philippe Matray 2016-09-02 14:08:36 +02:00
parent 83f35180da
commit 0b4cdde893

View file

@ -1276,7 +1276,7 @@ class MoveDamageClass(TableBase):
identifier = Column(Unicode(79), nullable=False, identifier = Column(Unicode(79), nullable=False,
doc=u"An identifier", doc=u"An identifier",
info=dict(format='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") doc=u"The ARGB color code of the DamageClass")
create_translation_table('move_damage_class_prose', MoveDamageClass, 'prose', 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.") doc=u"The ID of the generation this type first appeared in.")
damage_class_id = Column(Integer, ForeignKey('move_damage_classes.id'), nullable=True, 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. ???).") 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") doc=u"The ARGB color code of the type")
create_translation_table('type_names', Type, 'names', create_translation_table('type_names', Type, 'names',