From 4e70e709e138df431b64c37523999c18837306c2 Mon Sep 17 00:00:00 2001 From: KidsDontPlay <ichhabads@gmail.com> Date: Fri, 26 Jun 2020 19:57:21 +0200 Subject: [PATCH] added legendary and mythical --- pokedex/db/tables.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 0c2aa39..47b8c12 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -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',