mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Support null regional Pokédex for Colosseum/XD. #70
This commit is contained in:
parent
50b08d94d9
commit
2073fa5089
2 changed files with 4 additions and 4 deletions
|
@ -10,5 +10,5 @@ id,generation_id,pokedex_id,order
|
|||
9,4,6,11
|
||||
10,4,7,12
|
||||
11,5,8,13
|
||||
12,3,4,7
|
||||
13,3,4,8
|
||||
12,3,,7
|
||||
13,3,,8
|
||||
|
|
|
|
@ -1591,8 +1591,8 @@ class VersionGroup(TableBase):
|
|||
info=dict(description=u"This version group's unique ID."))
|
||||
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False,
|
||||
info=dict(description=u"The ID of the generation the games in this group belong to."))
|
||||
pokedex_id = Column(Integer, ForeignKey('pokedexes.id'), nullable=False,
|
||||
info=dict(description=u"The ID of the regional Pokédex used in this version group."))
|
||||
pokedex_id = Column(Integer, ForeignKey('pokedexes.id'), nullable=True,
|
||||
info=dict(description=u"The ID of the regional Pokédex used in this version group. Null if not applicable."))
|
||||
order = Column(Integer, nullable=True,
|
||||
info=dict(description=u"Order for sorting. Almost by date of release, except similar versions are grouped together."))
|
||||
|
||||
|
|
Loading…
Reference in a new issue