diff --git a/app/models.py b/app/models.py index 4136fbf..a0f7a0f 100644 --- a/app/models.py +++ b/app/models.py @@ -11,7 +11,9 @@ class Conversation(Base): title = Column(String) messages = relationship("Message", back_populates="conversation") attachments = relationship("Attachment", back_populates="conversation") - + tags = Column(String) # comma-separated tags + shared = Column(String) # null or email of recipient + class Message(Base): __tablename__ = "messages" id = Column(String, primary_key=True)