mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Change Unicode(79) to UnicodeText
This commit is contained in:
parent
83f35180da
commit
0b4cdde893
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue