diff --git a/backend/mih_database/mihDbObjects.py b/backend/mih_database/mihDbObjects.py index 0ce1045f..df8c6e54 100644 --- a/backend/mih_database/mihDbObjects.py +++ b/backend/mih_database/mihDbObjects.py @@ -64,10 +64,21 @@ class BusinessRating(Base): rating_description = Column(String(256), nullable=False, server_default="") rating_score = Column(String(45), nullable=False, server_default="") date_time = Column(DateTime, nullable=True) - def __repr__(self): return ( f"" + ) +class BookmarkedBusiness(Base): + __tablename__ = 'bookmarked_businesses' + __table_args__ = {'schema': 'mzansi_directory'} + idbookmarked_businesses = Column(Integer, primary_key=True) + app_id = Column(String(128), nullable=False, server_default="") + business_id = Column(String(128), nullable=False, server_default="") + created_date = Column(DateTime, nullable=True) + def __repr__(self): + return ( + f"" ) \ No newline at end of file