1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Add slot index to encounter_slots

This commit is contained in:
a_magical_me 2010-03-16 02:45:25 -07:00
parent 584057e6ed
commit ef798afdcb
2 changed files with 125 additions and 124 deletions
pokedex/db

View file

@ -118,7 +118,8 @@ class EncounterSlot(TableBase):
id = Column(Integer, primary_key=True, nullable=False)
version_group_id = Column(Integer, ForeignKey('version_groups.id'), nullable=False, autoincrement=False)
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False)
rarity = Column(Integer, nullable=False, autoincrement=False)
slot = Column(Integer, nullable=True)
rarity = Column(Integer, nullable=False)
class EncounterSlotCondition(TableBase):
"""Lists all conditions that affect each slot."""