adding lat/lon to the db

This commit is contained in:
Kadir Tugan 2023-11-18 13:09:03 +02:00
parent 72ff6a7202
commit 8698b41e0e
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@ class RightmoveListing(Base):
listing_json = Column(JSON, nullable=True)
detail_json = Column(JSON, nullable=True)
updated_timestamp = Column(Integer, nullable=True)
lat = Column(FLOAT)
lon = Column(FLOAT)
distance_to_office_minutes = Column(FLOAT, nullable=True)
def save(self):