X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/b3796a22bbafb2aa5eee5fdf0b2a9463c2520962..43915cd5fd9ad36a4a9d15281c6b0149bdc2ca30:/pokedex/db/tables.py diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index a5d8a84..b2e04c9 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -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."""