add public_share_enabled column to NewChatThread

This commit is contained in:
CREDO23 2026-01-23 19:53:02 +02:00
parent be33b8920e
commit d16b086ada

View file

@ -365,6 +365,13 @@ class NewChatThread(BaseModel, TimestampMixin):
unique=True,
index=True,
)
# Whether public sharing is currently enabled for this thread
public_share_enabled = Column(
Boolean,
nullable=False,
default=False,
server_default="false",
)
# Relationships
search_space = relationship("SearchSpace", back_populates="new_chat_threads")