Atualizar app/models.py

This commit is contained in:
2026-08-19 20:47:28 -03:00
parent dff93f8306
commit 95b320b9aa
+2
View File
@@ -11,6 +11,8 @@ 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"