mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fix location_area_encounter_rates
- encounter_type_id -> encounter_terrain_id - Added a version_id column. Previous rates were from Diamond and HeartGold; these have been copied to Pearl & Platinum and SoulSilver, respectively, which i assume is accurate. RBY rates need to be added.
This commit is contained in:
parent
4bf3a962df
commit
b80d2d2963
2 changed files with 1847 additions and 752 deletions
File diff suppressed because it is too large
Load diff
|
@ -185,7 +185,8 @@ class LocationArea(TableBase):
|
|||
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_terrain.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
version_id = Column(Integer, ForeignKey('versions.id'), primary_key=True, autoincrement=False)
|
||||
rate = Column(Integer, nullable=True)
|
||||
|
||||
class Machine(TableBase):
|
||||
|
|
Loading…
Reference in a new issue