mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added region names to the generations table.
This commit is contained in:
parent
94c70f00d3
commit
7315189b10
2 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
id,name
|
||||
1,Generation I
|
||||
2,Generation II
|
||||
3,Generation III
|
||||
4,Generation IV
|
||||
id,name,main_region
|
||||
1,Generation I,Kanto
|
||||
2,Generation II,Johto
|
||||
3,Generation III,Hoenn
|
||||
4,Generation IV,Sinnoh
|
||||
|
|
|
|
@ -44,6 +44,7 @@ class Generation(TableBase):
|
|||
__tablename__ = 'generations'
|
||||
id = Column(Integer, primary_key=True, nullable=False)
|
||||
name = Column(Unicode(16), nullable=False)
|
||||
main_region = Column(Unicode(16), nullable=False)
|
||||
|
||||
class GrowthRate(TableBase):
|
||||
__tablename__ = 'growth_rates'
|
||||
|
|
Loading…
Reference in a new issue