1
0
Fork 0
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:
KidsDontPlay 2020-06-26 19:57:21 +02:00 committed by GitHub
parent 74f12d2d56
commit 4e70e709e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',