mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Add and populate pokemon_species.order.
This commit is contained in:
parent
649162e79e
commit
ec048f3221
2 changed files with 652 additions and 650 deletions
File diff suppressed because it is too large
Load diff
|
@ -1412,6 +1412,8 @@ class PokemonSpecies(TableBase):
|
||||||
info=dict(description="ID of the growth rate for this family"))
|
info=dict(description="ID of the growth rate for this family"))
|
||||||
forms_switchable = Column(Boolean, nullable=False,
|
forms_switchable = Column(Boolean, nullable=False,
|
||||||
info=dict(description=u"True iff a particular individual of this species can switch beween its different forms."))
|
info=dict(description=u"True iff a particular individual of this species can switch beween its different forms."))
|
||||||
|
order = Column(Integer, nullable=False, index=True,
|
||||||
|
info=dict(description=u'The order in which species should be sorted. Based on National Dex order, except families are grouped together and sorted by stage.'))
|
||||||
|
|
||||||
create_translation_table('pokemon_species_names', PokemonSpecies, 'names',
|
create_translation_table('pokemon_species_names', PokemonSpecies, 'names',
|
||||||
relation_lazy='joined',
|
relation_lazy='joined',
|
||||||
|
|
Loading…
Reference in a new issue