mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Whoops; preserve column order.
This commit is contained in:
parent
ef1db6029d
commit
a3e0e4912b
1 changed files with 6 additions and 6 deletions
|
@ -233,10 +233,10 @@ class ContestEffect(TableBase):
|
||||||
info=dict(description="The base number of hearts the user's opponent loses"))
|
info=dict(description="The base number of hearts the user's opponent loses"))
|
||||||
|
|
||||||
create_translation_table('contest_effect_prose', ContestEffect, 'prose',
|
create_translation_table('contest_effect_prose', ContestEffect, 'prose',
|
||||||
effect = Column(Unicode(255), nullable=False,
|
|
||||||
info=dict(description="A detailed description of the effect", format='plaintext')),
|
|
||||||
flavor_text = Column(Unicode(64), nullable=False,
|
flavor_text = Column(Unicode(64), nullable=False,
|
||||||
info=dict(description="The in-game description of this effect", official=True, format='gametext')),
|
info=dict(description="The in-game description of this effect", official=True, format='gametext')),
|
||||||
|
effect = Column(Unicode(255), nullable=False,
|
||||||
|
info=dict(description="A detailed description of the effect", format='plaintext')),
|
||||||
)
|
)
|
||||||
|
|
||||||
class ContestType(TableBase):
|
class ContestType(TableBase):
|
||||||
|
@ -250,12 +250,12 @@ class ContestType(TableBase):
|
||||||
info=dict(description="An identifier", format='identifier'))
|
info=dict(description="An identifier", format='identifier'))
|
||||||
|
|
||||||
create_translation_table('contest_type_texts', ContestType, 'names',
|
create_translation_table('contest_type_texts', ContestType, 'names',
|
||||||
|
name = Column(Unicode(6), nullable=False, index=True,
|
||||||
|
info=dict(description="The name", format='plaintext', official=True)),
|
||||||
flavor = Column(Unicode(6), nullable=False,
|
flavor = Column(Unicode(6), nullable=False,
|
||||||
info=dict(description="The name of the corresponding Berry flavor", official=True, format='plaintext')),
|
info=dict(description="The name of the corresponding Berry flavor", official=True, format='plaintext')),
|
||||||
color = Column(Unicode(6), nullable=False,
|
color = Column(Unicode(6), nullable=False,
|
||||||
info=dict(description=u"The name of the corresponding Pokéblock color", official=True, format='plaintext')),
|
info=dict(description=u"The name of the corresponding Pokéblock color", official=True, format='plaintext')),
|
||||||
name = Column(Unicode(6), nullable=False, index=True,
|
|
||||||
info=dict(description="The name", format='plaintext', official=True)),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
class EggGroup(TableBase):
|
class EggGroup(TableBase):
|
||||||
|
@ -1464,10 +1464,10 @@ class PokemonShape(TableBase):
|
||||||
info=dict(description=u"An identifier", format='identifier'))
|
info=dict(description=u"An identifier", format='identifier'))
|
||||||
|
|
||||||
create_translation_table('pokemon_shape_prose', PokemonShape, 'prose',
|
create_translation_table('pokemon_shape_prose', PokemonShape, 'prose',
|
||||||
awesome_name = Column(Unicode(16), nullable=False,
|
|
||||||
info=dict(description=u"A splendiferous name of the body shape", format='plaintext')),
|
|
||||||
name = Column(Unicode(24), nullable=False, index=True,
|
name = Column(Unicode(24), nullable=False, index=True,
|
||||||
info=dict(description="The name", format='plaintext', official=False)),
|
info=dict(description="The name", format='plaintext', official=False)),
|
||||||
|
awesome_name = Column(Unicode(16), nullable=False,
|
||||||
|
info=dict(description=u"A splendiferous name of the body shape", format='plaintext')),
|
||||||
)
|
)
|
||||||
|
|
||||||
class PokemonStat(TableBase):
|
class PokemonStat(TableBase):
|
||||||
|
|
Loading…
Reference in a new issue