mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fixed for failing test
This commit is contained in:
parent
6dafe425ac
commit
74ff5929fb
1 changed files with 3 additions and 2 deletions
|
@ -2165,8 +2165,9 @@ 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 = Column(Unicode(7), nullable=False,
|
||||
doc=u"The hex value for the type's color.")
|
||||
color = Column(Unicode(7), nullable=True,
|
||||
doc=u"The hex value for the type's color.",
|
||||
info=dict(format='plaintext'))
|
||||
|
||||
create_translation_table('type_names', Type, 'names',
|
||||
relation_lazy='joined',
|
||||
|
|
Loading…
Reference in a new issue