Atualizar app/models.py

This commit is contained in:
2026-08-19 20:47:28 -03:00
parent dff93f8306
commit 95b320b9aa
+3 -1
View File
@@ -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)