mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added preliminary HG/SS encounter data.
This commit is contained in:
parent
97d2b09d75
commit
beb9be4084
7 changed files with 11891 additions and 0 deletions
pokedex/db
|
@ -162,6 +162,12 @@ class LocationArea(TableBase):
|
|||
internal_id = Column(Integer, nullable=False)
|
||||
name = Column(Unicode(64), nullable=True)
|
||||
|
||||
class LocationAreaEncounterRate(TableBase):
|
||||
__tablename__ = 'location_area_encounter_rates'
|
||||
location_area_id = Column(Integer, ForeignKey('location_areas.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
encounter_type_id = Column(Integer, ForeignKey('encounter_types.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
rate = Column(Integer, nullable=True)
|
||||
|
||||
class Machine(TableBase):
|
||||
__tablename__ = 'machines'
|
||||
machine_number = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue