114,20,114,B1F
115,22,115,0–9 different Unown caught
116,22,116,10–25 different Unown caught
-117,22,117,26+ different Unown caught
+117,180,117,26+ different Unown caught
118,23,118,
119,24,119,
120,24,120,1F
version_id = Column(Integer, ForeignKey('versions.id'), primary_key=True, autoincrement=False)
rate = Column(Integer, nullable=True)
+class LocationInternalID(TableBase):
+ __tablename__ = 'location_internal_ids'
+ location_id = Column(Integer, ForeignKey('locations.id'), nullable=False, primary_key=True)
+ generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False, primary_key=True)
+ internal_id = Column(Integer, nullable=False)
+
class Machine(TableBase):
__tablename__ = 'machines'
machine_number = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
ItemFlavorText.version_group = relation(VersionGroup)
+ItemInternalID.item = relation(Item, backref='internal_ids')
+ItemInternalID.generation = relation(Generation)
+
ItemName.language = relation(Language)
ItemPocket.categories = relation(ItemCategory, order_by=ItemCategory.name)
LocationArea.location = relation(Location, backref='areas')
+LocationInternalID.location = relation(Location, backref='internal_ids')
+LocationInternalID.generation = relation(Generation)
+
Machine.item = relation(Item)
Machine.version_group = relation(VersionGroup)