mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
added legendary and mythical
This commit is contained in:
parent
74f12d2d56
commit
4e70e709e1
1 changed files with 4 additions and 0 deletions
|
@ -2059,6 +2059,10 @@ class PokemonSpecies(TableBase):
|
|||
doc=u'The order in which species should be sorted. Based on National Dex order, except families are grouped together and sorted by stage.')
|
||||
conquest_order = Column(Integer, nullable=True, index=True,
|
||||
doc=u'The order in which species should be sorted for Pokémon Conquest-related tables. Matches gallery order.')
|
||||
is_legendary = Column(Boolean, nullable=False,
|
||||
doc=u'True if the Pokémon is a legendary Pokémon.')
|
||||
is_mythical = Column(Boolean, nullable=False,
|
||||
doc=u'True if the Pokémon is a mythical Pokémon.')
|
||||
|
||||
create_translation_table('pokemon_species_names', PokemonSpecies, 'names',
|
||||
relation_lazy='joined',
|
||||
|
|
Loading…
Add table
Reference in a new issue