mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
add public_share_enabled column to NewChatThread
This commit is contained in:
parent
be33b8920e
commit
d16b086ada
1 changed files with 7 additions and 0 deletions
|
|
@ -365,6 +365,13 @@ class NewChatThread(BaseModel, TimestampMixin):
|
||||||
unique=True,
|
unique=True,
|
||||||
index=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
|
# Relationships
|
||||||
search_space = relationship("SearchSpace", back_populates="new_chat_threads")
|
search_space = relationship("SearchSpace", back_populates="new_chat_threads")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue